Advertisement
DreamGamer_real

music + teleport+avatar

Sep 29th, 2019
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. local s = Instance.new("Sound")
  2.  
  3. s.Name = "Sound"
  4. s.SoundId = "http://www.roblox.com/asset/?id=2510027372"
  5. s.Volume = 2
  6. s.Looped = true
  7. s.archivable = false
  8.  
  9. s.Parent = game.Workspace
  10.  
  11. wait(3)
  12.  
  13. s:play()
  14.  
  15. plr = game.Players.LocalPlayer
  16.  
  17. hum = plr.Character.HumanoidRootPart
  18.  
  19. mouse = plr:GetMouse()
  20.  
  21.  
  22.  
  23. mouse.KeyDown:connect(function(key)
  24.  
  25. if key == "q" then
  26.  
  27. if mouse.Target then
  28.  
  29. hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
  30.  
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement