Advertisement
DigitalZer3

Untitled

Oct 2nd, 2015
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. local me = game:GetService("Players").LocalPlayer
  2.  
  3. mouse = me:GetMouse()
  4.  
  5. if me.Name == "DigitalZer3" and mouse.KeyDown:connect(function(key) then
  6. if key == "b" then
  7.  
  8. local sph = Instance.new("Sphere")
  9. sph.Material = "Neon"
  10. sph.Transparency = 0.3
  11. sph.Size = Vector3.new(1.64, 1.64, 1.64)
  12. wait(0.3)
  13. sph.Size = Vector3.new(2.64, 2.64, 2.64)
  14. wait(0.3)
  15. sph.Size = Vector3.new(4.52, 4.52, 4.52)
  16. wait(0.3)
  17. sph.Size = Vector3.new(5.67, 5.67, 5.67)
  18. wait(0.3)
  19. sph.Size = Vector3.new(6.18, 6.18, 6.18)
  20. sph.Parent = game.Workspace
  21. sph.BrickColor = BrickColor.new("Electric blue")
  22. local light = Instance.new("PointLight", sph)
  23.  
  24. if key == "d" then
  25. sph.Size = Vector3.new(5.67, 5.67, 5.67)
  26. wait(0.3)
  27. sph.Size = Vector3.new(4.52, 4.52, 4.52)
  28. wait(0.3)
  29. sph.Size = Vector3.new(2.64, 2.64, 2.64)
  30. wait(0.3)
  31. sph.Size = Vector3.new(1.64, 1.64, 1.64)
  32. wait(0.3)
  33. sph.Size = Vector3.new(0,0,0)
  34.  
  35. end
  36. end
  37. end
  38. end)
  39.  
  40. me.Chatted:connect(function(msg)
  41. if msg:sub(1,4)== "cmds" then
  42. local b = Instance.new("BillboardGui", sph)
  43. b.AlwaysOnTop = true
  44. b.StudsOffSet = UDim2.new(0,2,0)
  45. local t = Instance.new("TextLabel", b)
  46. t.Font = "SourceSans"
  47. t.TextColor3 = Color3.new(0,255,0)
  48. t.Text = "Cmds has not been created yet."
  49. t.BackgroundTransparency = 1
  50. t.FontSize = "Size36"
  51. elseif
  52. msg:sub(1,3)== "pmt" then
  53. sph.Material = "Plastic"
  54. elseif
  55. msg:sub(1,3)== "nmt" then
  56. sph.Material = "Neon"
  57. elseif
  58. msg:sub(1,2)== "rc" then
  59. local b = while true do
  60. sph.BrickColor = BrickColor.Random()
  61. end
  62. elseif
  63. msg:sub(1,12)== "Normal Color" then
  64. break b
  65. sph.BrickColor = BrickColor.new("Electric blue")
  66. end
  67. end
  68.  
  69. end
  70. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement