Advertisement
frog2128

fruit pie

Mar 13th, 2015
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. plr=game:service'Players'.LocalPlayer
  2. chr=plr.Character
  3. local ms = plr:GetMouse()
  4. CV="Really black"
  5.  
  6. local txt = Instance.new("BillboardGui", chr)
  7. txt.Adornee = chr.Head
  8. txt.Name = "_status"
  9. txt.Size = UDim2.new(4, 0, 2.5, 0)
  10. txt.StudsOffset = Vector3.new(-4, 2, 0)
  11. local text = Instance.new("TextLabel", txt)
  12. text.Size = UDim2.new(3, 0, 0.5, 0)
  13. text.FontSize = "Size18"
  14. text.TextScaled = true
  15. text.TextTransparency = 0
  16. text.BackgroundTransparency = 1
  17. text.TextTransparency = 0
  18. text.TextStrokeTransparency = 0
  19. text.Font = "SourceSansBold"
  20. text.TextStrokeColor3 = Color3.new(1,1,1)
  21.  
  22. v=Instance.new("Part")
  23. v.Parent=plr.Character
  24. v.FormFactor="Symmetric"
  25. v.Anchored=true
  26. v.CanCollide=false
  27. v.BottomSurface="Smooth"
  28. v.TopSurface="Smooth"
  29. v.Size=Vector3.new(10,10,10)
  30. v.Transparency=0.7
  31. while wait() do
  32. v.CFrame=chr.Torso.CFrame
  33. v.BrickColor=BrickColor.new(CV)
  34. text.TextColor3 = v.BrickColor.Color
  35. v.Shape="Ball"
  36. text.Text = CV
  37. Instance.new("PointLight").Parent = v
  38.  
  39. ms.KeyDown:connect(function(key)
  40. --Colors
  41. if string.lower(key) == "n" then
  42. CV="Really red"
  43. elseif string.lower(key) == "b" then
  44. CV="Really blue"
  45. elseif string.lower(key) == "m" then
  46. CV="Really black"
  47. end
  48. end)
  49. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement