Advertisement
frog2128

cake pies

Mar 14th, 2015
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. --Created by Grates
  2. char = game.Players.LocalPlayer.Character
  3. local MyMouse = game.Players.LocalPlayer:GetMouse()
  4. CV="Bright red"
  5.  
  6. function fallen()
  7. char.Humanoid:Destroy()
  8. local s = Instance.new("Sound")
  9. s.Name = "fall"
  10. s.SoundId = "http://www.roblox.com/asset/?id=130768088"
  11. s.Volume = 1
  12. s.Looped = false
  13. s.archivable = false
  14. s.Parent = game.Workspace
  15. wait(0)
  16. s:play()
  17. wait(15)
  18. game.Workspace.fall:Destroy()
  19. end
  20.  
  21. function gui1()
  22. local txt = Instance.new("BillboardGui", char)
  23. txt.Adornee = char.Head
  24. txt.Name = "Fallen"
  25. txt.Size = UDim2.new(4, 0, 2.5, 0)
  26. txt.StudsOffset = Vector3.new(-4, 2, 0)
  27. local text = Instance.new("TextLabel", txt)
  28. text.Text = "I've fallen, and I can't get up!"
  29. text.Size = UDim2.new(3, 0, 0.5, 0)
  30. text.FontSize = "Size18"
  31. text.TextScaled = true
  32. text.TextTransparency = 0
  33. text.BackgroundTransparency = 1
  34. text.TextTransparency = 0
  35. text.TextStrokeTransparency = 0
  36. text.Font = "SourceSansBold"
  37. text.TextStrokeColor3 = Color3.new(1,1,1)
  38. end
  39.  
  40. MyMouse.KeyDown:connect(function(key)
  41. if string.lower(key) == "m" then
  42. gui1()
  43. fallen()
  44. end
  45. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement