Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer.Character.HumanoidRootPart
- local guitar = game.Workspace.SillySecret.TheGuitar
- local spawn = game.Workspace.Faktry.TextBoard.Part
- local us = game:GetService("UserInputService")
- us.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.X then
- player.CFrame = guitar.CFrame
- end
- end)
- local us = game:GetService("UserInputService")
- us.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.Y then
- player.CFrame = spawn.CFrame
- end
- end)
- local us = game:GetService("UserInputService")
- us.InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.F then
- while wait() do
- while wait() do
- while wait() do
- while wait() do
- local args = {
- [1] = "KeyPressed",
- [2] = {
- ["Key"] = "F",
- ["Down"] = true
- }
- }
- game:GetService("Players").LocalPlayer.Character.SillyGuitar.Folders.Remotes.ServerControl:InvokeServer(unpack(args))
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement