vastqud
|
  |
| Joined: 10 Sep 2011 |
| Total Posts: 2464 |
|
|
| 11 Jan 2016 01:51 PM |
can anyone please tell me how I can make an explosion go where you click?
I have this script, but it wont work:
local player =game.Players.LocalPlayer local mouse = player:GetMouse() mouse.Button1Down:connect(function() print("hi") local explosion = Instance.new("Explosion",workspace)
explosion.Position = Vector3.new(mouse.Hit.p) end) |
|
|
| Report Abuse |
|
|
| |
|
vastqud
|
  |
| Joined: 10 Sep 2011 |
| Total Posts: 2464 |
|
|
| 11 Jan 2016 01:53 PM |
nothing
but when I made it print the position of the explosion, it said 0,0,0 no matter where I clicked |
|
|
| Report Abuse |
|
|
vastqud
|
  |
| Joined: 10 Sep 2011 |
| Total Posts: 2464 |
|
|
| 11 Jan 2016 01:53 PM |
| well it said "hi" as well because I made it print that... |
|
|
| Report Abuse |
|
|
|
| 11 Jan 2016 02:52 PM |
local player =game.Players.LocalPlayer local mouse = player:GetMouse() mouse.Button1Down:connect(function() local explosion = Instance.new("Explosion") explosion.Position = Vector3.new(mouse.Hit.p) explosion.Parent = game.Workspace end)
Try this out?
If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX
|
|
|
| Report Abuse |
|
|