Advertisement
therobIoxadmin

Untitled

May 5th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Model=Instance.new("Model",game.Workspace)
  2. Model.Name="ShadowFigs"
  3. Model.ChildAdded:connect(function(Child)
  4. wait(.2)
  5. if Child.Name=="ShadowClone" and Child.Name~="HoverBlocks" then
  6. local Light=Instance.new("PointLight",Child.Torso)
  7. Light.Color=Color3.new(1,1,1)
  8. Light.Range=10
  9. Light.Brightness=2
  10. Light.Shadows=true
  11. for t=1,5 do
  12. wait(.1)
  13. for i=1,#Child:GetChildren() do
  14. Child:GetChildren()[i].Transparency=t/10+.5
  15. end
  16. end
  17. Child:remove()
  18. end
  19. end)
  20. Parts={"Head","Torso","Left Arm","Left Leg","Right Arm","Right Leg"}
  21. repeat wait() until game.Players.Srua
  22. Plr=game.Players.Srua
  23. PlrChildren=Plr:GetChildren()
  24. Plr.Character.Humanoid.WalkSpeed=32
  25. for i=1,#PlrChildren do
  26. print(PlrChildren[i])
  27. end
  28. while true do
  29. Posit=Plr.Character.HumanoidRootPart.Position
  30. wait(.1)
  31. if Plr.Character.HumanoidRootPart.Position~=Posit then
  32. if Plr.Character.Humanoid.WalkSpeed==32 then
  33. print("Oink")
  34. Set=Instance.new("Model",game.Workspace.ShadowFigs)
  35. Set.Name="ShadowClone"
  36. for i=1,#Parts do
  37. PartClone=Plr.Character[Parts[i]]:Clone()
  38. RotationX=math.rad(Plr.Character[Parts[i]].Rotation.X)
  39. RotationY=math.rad(Plr.Character[Parts[i]].Rotation.Y)
  40. RotationZ=math.rad(Plr.Character[Parts[i]].Rotation.Z)
  41. PartClone.CFrame=CFrame.new(Plr.Character[Parts[i]].Position)*CFrame.Angles(RotationX,RotationY,RotationZ)
  42. PartClone.Parent=Set
  43. PartClone.Anchored=true
  44. PartClone.CanCollide=false
  45. PartClone.Transparency=.5
  46. PartClone.BrickColor=BrickColor.new("Institutional white")
  47. if PartClone.Name=="Head" or PartClone.Name=="Torso" then
  48. Children=PartClone:GetChildren()
  49. for i=1,#Children do
  50. if Children[i].ClassName~="Mesh" and Children[i].ClassName~="SpecialMesh" then
  51. Children[i]:remove()
  52. end
  53. end
  54. end
  55. end
  56. end
  57. end
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement