Roblox Forum banner

how to make a fling gui button in roblox studio (not hacks)

807 Views 6 Replies 5 Participants Last post by  arthur2013
I wanna make a fling button so people can fly to the sky. but not a function hit on a part, a screen gui button! I cannot find any screen gui fling button tutorial in google bc it is filled with FE hacks. How can I make a fling gui button in roblox studio?
1 - 7 of 7 Posts
Probably the same function of code but instead defining it when the GUI button is clicked with MouseButton1Click.
Probably the same function of code but instead defining it when the GUI button is clicked with MouseButton1Click.
ill try, im not good at scripting
Probably the same function of code but instead defining it when the GUI button is clicked with MouseButton1Click.
ill try, im not good at scripting
Just make sure you're defining the correct button and you should be good.
How do i make it please put the script
Code:
local button = Instance.new("TextButton")
button.Name = "FlingButton"
button.Size = UDim2.new(0.2, 0, 0.1, 0)
button.Parent = game.Players.LocalPlayer.PlayerGui

button.MouseButton1Click:Connect(function()
    game.Players.LocalPlayer.Character:MoveTo(Vector3.new(0,1000,0))
end)
it make me got to floating point🥵🥵🥵
1 - 7 of 7 Posts
Top