Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- game: https://www.roblox.com/games/4850718823/Skate-Park-TRICKS-BETA
- local Chat = Instance.new("ScreenGui")
- local bg = Instance.new("ImageButton")
- local exit = Instance.new("TextButton")
- local title = Instance.new("TextLabel")
- local soundlabel = Instance.new("TextLabel")
- local tricklabel = Instance.new("TextLabel")
- local sound = Instance.new("ImageButton")
- local x = Instance.new("TextLabel")
- local trick = Instance.new("ImageButton")
- local x2 = Instance.new("TextLabel")
- Chat.Name = "Chat"
- Chat.Parent = game:GetService("CoreGui")
- bg.Name = "bg"
- bg.Parent = Chat
- bg.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- bg.BackgroundTransparency = 1.000
- bg.Position = UDim2.new(0.364406765, 0, 0.277777791, 0)
- bg.Size = UDim2.new(0, 352, 0, 271)
- bg.Image = "rbxassetid://2790390993"
- bg.ScaleType = Enum.ScaleType.Slice
- bg.SliceCenter = Rect.new(16, 16, 240, 240)
- exit.Name = "exit"
- exit.Parent = bg
- exit.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- exit.BackgroundTransparency = 1.000
- exit.BorderSizePixel = 0
- exit.Position = UDim2.new(0.90625, 0, 0.0405904055, 0)
- exit.Size = UDim2.new(0, 20, 0, 27)
- exit.Font = Enum.Font.ArialBold
- exit.Text = "X"
- exit.TextColor3 = Color3.fromRGB(0, 0, 0)
- exit.TextScaled = true
- exit.TextSize = 14.000
- exit.TextTransparency = 0.400
- exit.TextWrapped = true
- exit.MouseEnter:Connect(function()
- for i = 0.4, 0, -.1 do --fades in
- exit.TextTransparency = i
- wait()
- end
- end)
- exit.MouseLeave:Connect(function()
- for i = 0, .4, .1 do --fades out
- exit.TextTransparency = i
- wait()
- end
- end)
- exit.MouseButton1Click:Connect(function()
- Chat:Destroy()
- end)
- title.Name = "title"
- title.Parent = bg
- title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- title.BackgroundTransparency = 1.000
- title.BorderSizePixel = 0
- title.Position = UDim2.new(0.215909094, 0, 0, 0)
- title.Size = UDim2.new(0, 200, 0, 50)
- title.Font = Enum.Font.GothamBold
- title.Text = "SS Spam"
- title.TextColor3 = Color3.fromRGB(0, 0, 0)
- title.TextSize = 25.000
- soundlabel.Name = "soundlabel"
- soundlabel.Parent = bg
- soundlabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- soundlabel.BackgroundTransparency = 1.000
- soundlabel.BorderSizePixel = 0
- soundlabel.Position = UDim2.new(0.03125, 0, 0.335793346, 0)
- soundlabel.Size = UDim2.new(0, 200, 0, 50)
- soundlabel.Font = Enum.Font.GothamBold
- soundlabel.Text = "Sound Spam (Server Sided)"
- soundlabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- soundlabel.TextSize = 14.000
- tricklabel.Name = "tricklabel"
- tricklabel.Parent = bg
- tricklabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- tricklabel.BackgroundTransparency = 1.000
- tricklabel.BorderSizePixel = 0
- tricklabel.Position = UDim2.new(0.03125, 0, 0.564575672, 0)
- tricklabel.Size = UDim2.new(0, 200, 0, 50)
- tricklabel.Font = Enum.Font.GothamBold
- tricklabel.Text = "Trick Spam (Server Sided)"
- tricklabel.TextColor3 = Color3.fromRGB(0, 0, 0)
- tricklabel.TextSize = 15.000
- x.Name = "x"
- x.Parent = sound
- x.AnchorPoint = Vector2.new(0.5, 0.5)
- x.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- x.BackgroundTransparency = 1.000
- x.BorderSizePixel = 0
- x.Position = UDim2.new(0.5, 0, 0.5, 0)
- x.Size = UDim2.new(1, -5, 1, -5)
- x.Font = Enum.Font.GothamSemibold
- x.Text = "X"
- x.TextColor3 = Color3.fromRGB(255, 255, 255)
- x.TextSize = 14.000
- x.TextTransparency = 1
- sound.Name = "sound"
- sound.Parent = bg
- sound.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- sound.BackgroundTransparency = 1.000
- sound.Position = UDim2.new(0.727272749, 0, 0.369003683, 0)
- sound.Size = UDim2.new(0, 63, 0, 31)
- sound.Image = "rbxassetid://2790389767"
- sound.ImageColor3 = Color3.fromRGB(35, 35, 35)
- sound.ScaleType = Enum.ScaleType.Slice
- sound.SliceCenter = Rect.new(8, 8, 248, 248)
- local togglesound = false
- sound.MouseButton1Click:Connect(function()
- if togglesound == false then
- for i = 1, 0, -.1 do --fades in
- x.TextTransparency = i
- wait()
- end
- togglesound = true
- else
- for i = 0, 1, .1 do --fades out
- x.TextTransparency = i
- wait()
- end
- togglesound = false
- end
- end)
- sound.MouseButton1Click:Connect(function()
- if _G.Enabled then
- _G.Enabled = false
- else
- while _G.Enabled do wait(0.001)
- local args = {
- [1] = "ollie2",
- }
- game:GetService("Players").LocalPlayer.Character.plr_282028881.SkateboardPlatform.Remotes.Sound:FireServer(unpack(args))
- end
- end
- end)
- x2.Name = "x2"
- x2.Parent = trick
- x2.AnchorPoint = Vector2.new(0.5, 0.5)
- x2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- x2.BackgroundTransparency = 1.000
- x2.BorderSizePixel = 0
- x2.Position = UDim2.new(0.5, 0, 0.5, 0)
- x2.Size = UDim2.new(1, -5, 1, -5)
- x2.Font = Enum.Font.GothamSemibold
- x2.Text = "X"
- x2.TextColor3 = Color3.fromRGB(255, 255, 255)
- x2.TextSize = 14.000
- x2.TextTransparency = 1
- trick.Name = "trick"
- trick.Parent = bg
- trick.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
- trick.BackgroundTransparency = 1.000
- trick.Position = UDim2.new(0.727272749, 0, 0.59778595, 0)
- trick.Size = UDim2.new(0, 63, 0, 31)
- trick.Image = "rbxassetid://2790389767"
- trick.ImageColor3 = Color3.fromRGB(35, 35, 35)
- trick.ScaleType = Enum.ScaleType.Slice
- trick.SliceCenter = Rect.new(8, 8, 248, 248)
- local toggletrick = false
- trick.MouseButton1Click:Connect(function()
- if toggletrick == false then
- for i = 1, 0, -.1 do --fades in
- x2.TextTransparency = i
- wait()
- end
- toggletrick = true
- else
- for i = 0, 1, .1 do --fades out
- x2.TextTransparency = i
- wait()
- end
- toggletrick = false
- end
- end)
- trick.MouseButton1Click:Connect(function()
- if _G.Enabled then
- _G.Enabled = false
- else
- while _G.Enabled do wait(0.001)
- local args = {
- [1] = "heelunder",
- }
- game:GetService("Players").LocalPlayer.Character.plr_282028881.SkateboardPlatform.Remotes.Trick:FireServer(unpack(args))
- end
- end
- end)
- local Frame = bg
- function dragify(Frame)
- dragToggle = nil
- dragSpeed = .25 -- You can edit this.
- dragInput = nil
- dragStart = nil
- dragPos = nil
- function updateInput(input)
- Delta = input.Position - dragStart
- Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
- game:GetService("TweenService"):Create(Frame, TweenInfo.new(.25), {Position = Position}):Play()
- end
- Frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if (input.UserInputState == Enum.UserInputState.End) then
- dragToggle = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
- dragInput = input
- end
- end)
- game:GetService("UserInputService").InputChanged:Connect(function(input)
- if (input == dragInput and dragToggle) then
- updateInput(input)
- end
- end)
- end
- dragify(Frame)
Add Comment
Please, Sign In to add comment