Advertisement
00fjg

Untitled

Sep 2nd, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1.  
  2. repeat wait() until game.Players.LocalPlayer.Character
  3. local p = game.Players.LocalPlayer
  4. local mouse = p:GetMouse()
  5. local char = p.Character
  6. local tor = char.Torso
  7.  
  8. function hairChange(col) --some of this stuff is a little complicated bcuz i haven't taught you it yet
  9. for i, v in pairs(char:GetChildren()) do --for everything in your character
  10. if v:IsA("Accessory") then --if it finds an accessory
  11. v.Handle.BrickColor = BrickColor.new(col) --change the brickcolor to the col parameter or that.
  12. -- now this won't work because hats use texture, so lets remove the texture.
  13. v.Handle.Mesh.TextureId = "" -- no texture
  14. end
  15. end
  16. end
  17. --im gonna teach u guys keys actually
  18. mouse.KeyDown:connect(function(key) --this looks a bit confusing, mouse is basically both mouse and keyboard, we're saying when the mouse/keyboard presses a key or in this case you..
  19. if key == "f" then --if you press the key "f" then
  20. for args = 1, 10 do
  21. hairChange("New Yeller") --New Yeller is the parameter or col, that.
  22. wait(.05)
  23. hairChange("Black")
  24. wait(.05)
  25. end
  26. game:GetService('Chat'):Chat(char.Head, string.upper("grr.."), 1)
  27. -- i am going to make this ssj look sick though, not as sick as dbbes but still cool ;P
  28. for idk = 1, 3 do
  29. spawn(function() --do the cylinder and ball at once
  30. local cyl = script.Cylinder:Clone()
  31. cyl.Parent = workspace --when u clone something, you HAVE to set its parent
  32. cyl.Position = tor.Position --alright now lets try our script out
  33. --now we're gonna animate the cylinder
  34. for xD = 1, 20 do --for 20 times
  35. cyl.Size = cyl.Size + Vector3.new(.3,.3,.3) --increase the x y and z demensions of the cylinder by .3 each time for 20 times
  36. cyl.Transparency = cyl.Transparency + .05 --make it fade
  37. wait()
  38. end --now lets make this better
  39. cyl:Destroy() --kill the cylinder after it does it stuff
  40. end)
  41. local ball = script.ball:Clone()
  42. ball.Parent = workspace
  43. ball.Position = tor.Position
  44. for xD = 1, 20 do --for 20 times
  45. ball.Size = ball.Size + Vector3.new(.3,.3,.3) --increase the x y and z demensions of the cylinder by .3 each time for 20 times
  46. ball.Transparency = ball.Transparency + .05 --make it fade
  47. wait()
  48. end --now lets make this better
  49. ball:Destroy() --same goes for ball
  50. end
  51. local har = script.asd:Clone()
  52. har.Parent = workspace
  53. har.Position = char["Left Leg"].Position
  54. for hue = 1, 10 do
  55. har.Size = har.Size + Vector3.new(0, .5, .5)
  56. har.Transparency = har.Transparency + .1
  57. wait(.03)
  58. end
  59. har:remove()
  60. wait()
  61. hairChange("New Yeller")
  62. script.Charge:Clone() .Parent = tor
  63. --kk good
  64. game:GetService('Chat'):Chat(char.Head, string.upper("i'm now a super saiyan!"), 1)
  65. end
  66. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement