Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ifgui = game.CoreGui:FindFirstChild("FindTools")
- if ifgui then ifgui:Destroy() end
- local FindTools = Instance.new("ScreenGui")
- local Button = Instance.new("TextButton")
- FindTools.Name = "FindTools"
- FindTools.Parent = game.CoreGui
- FindTools.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Button.Name = "Button"
- Button.Parent = FindTools
- Button.BackgroundColor3 = Color3.new(0.239216, 0.72549, 0.72549)
- Button.BorderSizePixel = 0
- Button.Position = UDim2.new(0.918470442, 0, 0.924471319, 0)
- Button.Size = UDim2.new(0.0815295801, 0, 0.0755287036, 0)
- Button.Font = Enum.Font.SourceSans
- Button.Text = "GetTools"
- Button.TextColor3 = Color3.new(0, 0, 0)
- Button.TextSize = 14
- Button.Activated:Connect(function()
- for i,v in pairs(workspace:GetDescendants()) do
- if v.Name == "Coin" then
- print(v)
- game.Players.LocalPlayer.Character.UpperTorso.CFrame = v.CFrame
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement