Advertisement
frog2128

cake recipe

Mar 14th, 2015
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 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. end
  18.  
  19. function gui1()
  20. local txt = Instance.new("BillboardGui", char)
  21. txt.Adornee = char.Head
  22. txt.Name = "Fallen"
  23. txt.Size = UDim2.new(4, 0, 2.5, 0)
  24. txt.StudsOffset = Vector3.new(-4, 2, 0)
  25. local text = Instance.new("TextLabel", txt)
  26. text.Text = "I've fallen, and I can't get up!"
  27. text.Size = UDim2.new(3, 0, 0.5, 0)
  28. text.FontSize = "Size18"
  29. text.TextScaled = true
  30. text.TextTransparency = 0
  31. text.BackgroundTransparency = 1
  32. text.TextTransparency = 0
  33. text.TextStrokeTransparency = 0
  34. text.Font = "SourceSansBold"
  35. text.TextStrokeColor3 = Color3.new(1,1,1)
  36. end
  37.  
  38. MyMouse.KeyDown:connect(function(key)
  39. if string.lower(key) == "m" then
  40. gui1()
  41. fallen()
  42. end
  43. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement