View difference between Paste ID: ZejUMWEA and 4yzPQMAN
SHOW: | | - or go back to the newest paste.
1-
--[[Hello, I am 1STdewGmzTvThailand and I am going to teach you how to make an explosion where ever you click...]]--
1+
this script is edited so the original belongs to their owner
2
3
4
5-
--I am going to make this a little quick, so if you get lost, please go back in the vid xD
5+
6
plr = game.Players.LocalPlayer
7
mouse = plr:GetMouse()
8
--This has to be a local script.
9
function onClicked()
10
local x = Instance.new("Explosion", Workspace)--This means create new explosion in the workspace.	
11
x.Position = mouse.Hit.p
12
x.BlastRadius = 15999999999999999999999999999999999999999999999999999999999999999999999999999e999999999999999999999999999999999999999999999999999999999999999999999999
13-
x.BlastRadius = 15
13+
x.BlastPressure = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999e9999999999999999999999999999999999999999999
14-
x.BlastPressure = 9e9
14+
15
mouse.Button1Down:connect(onClicked)
16
17
--If you are making a script that requires a key down or mouse button down, you need to recall your function. Like so:
18
--mouse.Button1Down:connect(onClicked)
19
--[[It really doesn't matter what you name your function.  As long as you have the () at the end of the name. I.D  function die()
20
Well, enjoy.  I will make this a free model and link in the description.  Time to test this out :3	
21
	
22
	]]