Roblox Scripting Tutorial: TNT
Channel:
Subscribers:
2,110
Published on ● Video Link: https://www.youtube.com/watch?v=ZkrxQytHUGI
In this tutorial, we'll learn about the explosion object.
Script:
local tnt = script.Parent
local ex = Instance.new("Explosion")
function onTouched(p)
ex.BlastPressure = 1000000
ex.BlastRadius = 4
ex.Parent = game.Workspace
ex.Position = tnt.Position
end
tnt.Touched:connect(onTouched)
Music by C418 and I!
Be sure to follow Laura and I on Twitter after rating, commenting, and subscribing!
Me :https://twitter.com/Rrrrry2468
Laura: https://twitter.com/lauraperry123
Other Videos By RyGuyGaming
Tags:
Rrrrry123
Rrrrry2468
Twitter
Laura
Ryan
Block
Brick
Roblox
Scripting
Script
Tutorial
Help
How
To
Lua
Language
Programming
TNT
Explosion