Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Game scripts request
#1
i need a tool that if u use it and left click on a brick the fixed option gets unchecked, so it obeys gravity, and if u right click it ,it gets fixed again.
the goal is to get a ball from the top into a specific slot, and once the ball hits that slot, you get teleported to another area, with another level of the game.
srsly?no one?
Reply
#2
We only have about 20 active users -- this isn't ROBLOX where you can get a reply in 5 minutes.

Anyway,

[lua]
local tool = script.Parent
link(tool.MouseDown, function(b, pos)
local p = game.World:getPartAt(pos)
if p ~= nil then
if b == 1 then
p.Fixed = false
elseif b == 2 then
p.Fixed = true
end end end)
[/lua]

Try that.
Reply
#3
Moved to request.
Hello
Reply
#4
thanks, and how about the part about the ball hitting the slot sending you to another level?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)