Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Make a Gui that would runaway from your cursor?

Asked by 4 years ago

I had this Idea just to have as a fun little project, but I have no idea were to start. Any help would be appreciated.

0
@harrlylary Please mark my answer as the correct answer so I can get points and you too :) Xapelize 2658 — 4y

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
4 years ago
Edited 4 years ago

Cool question. You can just make the GUI's position away from the cursor every second.

local mouse = game.Players.LocalPlayer:GetMouse()

while wait() do
    script.Parent.Position = UDim2.new(0 ,mouse.X + 200, 0, mouse.Y - 200)
end

This will be fun :>

Edit 5th: This worked I tested in Roblox Studio it worked

0
my grammar sucks and ignore my grammar pls pls Xapelize 2658 — 4y
0
wait wait don't test first it have some bugs Xapelize 2658 — 4y
0
Ok fine it worked whatever Xapelize 2658 — 4y
0
Thanks! harrylary -5 — 4y
0
@harrylary Please mark this as the answer so we both can get points, thx :) Xapelize 2658 — 4y
Ad

Answer this question