Could any1 help me make a script for a GUI button that makes you jump once and closes the GUI button for my game...
Greets Treinman123
DM ME ON DISCORD IF YOU CAN HELP Trein#4391
TY
Could any1 help me make a script for a GUI button that makes you jump once and closes the GUI button for my game...
Greets Treinman123
DM ME ON DISCORD IF YOU CAN HELP Trein#4391
TY
I don't think your allowed to tell people your discord because it might be against the Community Guidelines.
So I'm posting it here!
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
player.Character.Humanoid.Jump = true
script.Parent.Visible = false
warn("Success!")
end)
Also that's a LocalScript inside the button.
Your a life saver <3
OOF i tested it out and it didnt make me jump it only closed the Button
It does print ("Success") tho
Hmm... Ohhh your gonna have to fire a Remote Event on the client to the server so we can tell the server to make your character jump... This is because of Filtering Enabled. Read more about Remote Events here: https://developer.roblox.com/en-us/api-reference/class/RemoteEvent
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
hmmmmm
do you want to close the UI or to Delete the UI?
close
uhh if you know how to make one could you contact me on discord Trein#4391