Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local CrossyGui = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local OpenButton = Instance.new("TextButton")
- local GuiFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local PlayersName = Instance.new("TextBox")
- local KillButton = Instance.new("TextButton")
- local Amount = Instance.new("TextBox")
- local SpeedButton = Instance.new("TextButton")
- local JumpPowerButton = Instance.new("TextButton")
- local FreezeButton = Instance.new("TextButton")
- local KillLoopButton = Instance.new("TextButton")
- local JumpTrollButton = Instance.new("TextButton")
- local CloseButton = Instance.new("TextButton")
- local Credits = Instance.new("TextLabel")
- -- Properties
- CrossyGui.Name = "CrossyGui"
- CrossyGui.Parent = game.Players.LocalPlayer.PlayerGui
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = CrossyGui
- OpenFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- OpenFrame.Position = UDim2.new(0, 0, 0.364175558, 0)
- OpenFrame.Size = UDim2.new(0, 47, 0, 46)
- OpenButton.Name = "OpenButton"
- OpenButton.Parent = OpenFrame
- OpenButton.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenButton.BackgroundTransparency = 1
- OpenButton.Size = UDim2.new(0, 47, 0, 50)
- OpenButton.Font = Enum.Font.SourceSans
- OpenButton.Text = "Open Gui"
- OpenButton.TextColor3 = Color3.new(1, 1, 1)
- OpenButton.TextScaled = true
- OpenButton.TextSize = 14
- OpenButton.TextWrapped = true
- GuiFrame.Name = "GuiFrame"
- GuiFrame.Parent = CrossyGui
- GuiFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- GuiFrame.Position = UDim2.new(0.0690909103, 0, 0.0711743757, 0)
- GuiFrame.Size = UDim2.new(0, 389, 0, 293)
- GuiFrame.Visible = false
- Title.Name = "Title"
- Title.Parent = GuiFrame
- Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- Title.Size = UDim2.new(0, 389, 0, 50)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "CrossyGui"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- PlayersName.Name = "PlayersName"
- PlayersName.Parent = GuiFrame
- PlayersName.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
- PlayersName.Position = UDim2.new(0.0334190205, 0, 0.214004576, 0)
- PlayersName.Size = UDim2.new(0, 200, 0, 27)
- PlayersName.Font = Enum.Font.SourceSans
- PlayersName.Text = "Players Name"
- PlayersName.TextColor3 = Color3.new(1, 1, 1)
- PlayersName.TextScaled = true
- PlayersName.TextSize = 14
- PlayersName.TextWrapped = true
- KillButton.Name = "KillButton"
- KillButton.Parent = GuiFrame
- KillButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- KillButton.Position = UDim2.new(0.102827765, 0, 0.378106803, 0)
- KillButton.Size = UDim2.new(0, 143, 0, 35)
- KillButton.Font = Enum.Font.SourceSans
- KillButton.Text = "Kill"
- KillButton.TextColor3 = Color3.new(1, 1, 1)
- KillButton.TextScaled = true
- KillButton.TextSize = 14
- KillButton.TextWrapped = true
- Amount.Name = "Amount"
- Amount.Parent = GuiFrame
- Amount.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
- Amount.Position = UDim2.new(0.596401036, 0, 0.215671688, 0)
- Amount.Size = UDim2.new(0, 122, 0, 27)
- Amount.Font = Enum.Font.SourceSans
- Amount.Text = "Amount"
- Amount.TextColor3 = Color3.new(1, 1, 1)
- Amount.TextScaled = true
- Amount.TextSize = 14
- Amount.TextWrapped = true
- SpeedButton.Name = "SpeedButton"
- SpeedButton.Parent = GuiFrame
- SpeedButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- SpeedButton.Position = UDim2.new(0.526992261, 0, 0.556313992, 0)
- SpeedButton.Size = UDim2.new(0, 164, 0, 35)
- SpeedButton.Font = Enum.Font.SourceSans
- SpeedButton.Text = "WalkSpeed"
- SpeedButton.TextColor3 = Color3.new(1, 1, 1)
- SpeedButton.TextScaled = true
- SpeedButton.TextSize = 14
- SpeedButton.TextWrapped = true
- JumpPowerButton.Name = "JumpPowerButton"
- JumpPowerButton.Parent = GuiFrame
- JumpPowerButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- JumpPowerButton.Position = UDim2.new(0.105398454, 0, 0.556520879, 0)
- JumpPowerButton.Size = UDim2.new(0, 143, 0, 35)
- JumpPowerButton.Font = Enum.Font.SourceSans
- JumpPowerButton.Text = "JumpPower"
- JumpPowerButton.TextColor3 = Color3.new(1, 1, 1)
- JumpPowerButton.TextScaled = true
- JumpPowerButton.TextSize = 14
- JumpPowerButton.TextWrapped = true
- FreezeButton.Name = "FreezeButton"
- FreezeButton.Parent = GuiFrame
- FreezeButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- FreezeButton.Position = UDim2.new(0.526992261, 0, 0.744001448, 0)
- FreezeButton.Size = UDim2.new(0, 164, 0, 35)
- FreezeButton.Font = Enum.Font.SourceSans
- FreezeButton.Text = "Freeze"
- FreezeButton.TextColor3 = Color3.new(1, 1, 1)
- FreezeButton.TextScaled = true
- FreezeButton.TextSize = 14
- FreezeButton.TextWrapped = true
- KillLoopButton.Name = "KillLoopButton"
- KillLoopButton.Parent = GuiFrame
- KillLoopButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- KillLoopButton.Position = UDim2.new(0.102827765, 0, 0.744001448, 0)
- KillLoopButton.Size = UDim2.new(0, 143, 0, 35)
- KillLoopButton.Font = Enum.Font.SourceSans
- KillLoopButton.Text = "Loop Kill"
- KillLoopButton.TextColor3 = Color3.new(1, 1, 1)
- KillLoopButton.TextScaled = true
- KillLoopButton.TextSize = 14
- KillLoopButton.TextWrapped = true
- JumpTrollButton.Name = "JumpTrollButton"
- JumpTrollButton.Parent = GuiFrame
- JumpTrollButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- JumpTrollButton.Position = UDim2.new(0.526992261, 0, 0.378839582, 0)
- JumpTrollButton.Size = UDim2.new(0, 164, 0, 35)
- JumpTrollButton.Font = Enum.Font.SourceSans
- JumpTrollButton.Text = "Jump Troll"
- JumpTrollButton.TextColor3 = Color3.new(1, 1, 1)
- JumpTrollButton.TextScaled = true
- JumpTrollButton.TextSize = 14
- JumpTrollButton.TextWrapped = true
- CloseButton.Name = "CloseButton"
- CloseButton.Parent = GuiFrame
- CloseButton.BackgroundColor3 = Color3.new(0.313726, 0.313726, 0.313726)
- CloseButton.Position = UDim2.new(0.29305914, 0, 0.897610903, 0)
- CloseButton.Size = UDim2.new(0, 164, 0, 22)
- CloseButton.Font = Enum.Font.SourceSans
- CloseButton.Text = "Close Gui"
- CloseButton.TextColor3 = Color3.new(1, 1, 1)
- CloseButton.TextScaled = true
- CloseButton.TextSize = 14
- CloseButton.TextWrapped = true
- Credits.Name = "Credits"
- Credits.Parent = GuiFrame
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 1
- Credits.Position = UDim2.new(-0.113110542, 0, 0.860068262, 0)
- Credits.Size = UDim2.new(0, 200, 0, 50)
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Youtube.com/Xcrossy"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.TextSize = 14
- --scripts
- OpenButton.MouseButton1Click:connect(function()
- GuiFrame.Visible = true
- end)
- CloseButton.MouseButton1Click:connect(function()
- GuiFrame.Visible = false
- end)
- KillButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- game.Workspace[plr].Humanoid.Health = 0
- end)
- JumpTrollButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- while wait() do
- game.Workspace[plr].Humanoid.Jump = true
- end
- end)
- JumpPowerButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- local amount = Amount.Text
- game.Workspace[plr].Humanoid.JumpPower = Amount.Text
- end)
- SpeedButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- local amount = Amount.Text
- game.Workspace[plr].Humanoid.WalkSpeed = Amount.Text
- end)
- KillLoopButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- while true do
- wait()
- game.Workspace[plr].Humanoid.Health = 0
- end
- end)
- FreezeButton.MouseButton1Click:connect(function()
- local plr = PlayersName.Text
- game.Workspace[plr].Humanoid.WalkSpeed = 0
- game.Workspace[plr].Humanoid.JumpPower = 0
- end)
Add Comment
Please, Sign In to add comment