Advertisement
Harrypotterfan

Untitled

Mar 2nd, 2017
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. --Enter in any more admins in this way:| , ["AdminName"] = true |:Don't forget the comma.
  2. local admins = {["tenband"] = true}
  3. ahealth = 500000000000
  4. aspeed = 65
  5. ajp = 150
  6.  
  7. local wdpT=Instance.new('ParticleEmitter') wdpT.Texture='rbxassetid://241486681' wdpT.Size=NumberSequence.new({NumberSequenceKeypoint.new(0,0);NumberSequenceKeypoint.new(.1,.25,.25);NumberSequenceKeypoint.new(1,.5);}) wdpT.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1);NumberSequenceKeypoint.new(.1,.25,.25);NumberSequenceKeypoint.new(.9,.5,.25);NumberSequenceKeypoint.new(1,1);}) wdpT.Color=ColorSequence.new(Color3.new(255/255,255/255,255/255),Color3.new(255/255,255/255,255/255)) wdpT.Lifetime=NumberRange.new(5) wdpT.Speed=NumberRange.new(.5,1) wdpT.Rotation=NumberRange.new(0,359) wdpT.RotSpeed=NumberRange.new(-90,90) wdpT.Rate=11 wdpT.VelocitySpread=180
  8. local hatids = {64082730,147180077,1031429,11748356}
  9. local leftLegid = {Mesh = 101851582, Texture = 101851254}
  10. local rightLegid = {Mesh = 101851696, Texture = 101851254}
  11. function onPlayerAdded(player)
  12. game.Players.Player.CharacterAdded:connect(function(character)
  13. if aspeed == 65 then
  14. character.Humanoid.MaxHealth = ahealth
  15. character.Humanoid.Health = ahealth
  16. character.Humanoid.JumpPower = ajp
  17. character.Humanoid.WalkSpeed = aspeed
  18. character.Head.Mesh.Scale=Vector3.new()
  19. wdpT:Clone().Parent=character:findFirstChild('Torso')
  20. end
  21. end)
  22. wait(2)
  23. print("destroying hats.")
  24. for i,v in pairs(player.Character:children()) do
  25. if v:IsA('Hat') then
  26. v:Destroy()
  27. wait(1)
  28. print("hats destroyed")
  29. end
  30. end
  31.  
  32. function onPlayerAdded(player)
  33. game.Players.Player.CharacterAdded:connect(function(character)
  34. character.Humanoid.Died:connect(function()
  35. end)
  36. wait(1)
  37. print("LOADING HATS")
  38. wait(2)
  39. for i,v in pairs(hatids) do
  40. game:GetService("InsertService"):LoadAsset(v):children()[1].Parent=player.Character
  41. end
  42. end)
  43. wait(4)
  44. print("HATS LOADED")
  45. local leftLeg = Instance.new("CharacterMesh",player.Character)
  46. local rightLeg = Instance.new("CharacterMesh",player.Character)
  47.  
  48. leftLeg.BodyPart = "LeftLeg"
  49. leftLeg.OverlayTextureId = leftLegid.Texture
  50. leftLeg.MeshId = leftLegid.Mesh
  51.  
  52. rightLeg.BodyPart = "RightLeg"
  53. rightLeg.OverlayTextureId = rightLegid.Texture
  54. rightLeg.MeshId = rightLegid.Mesh
  55. end
  56. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement