Advertisement
memberhero

???

Apr 5th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.09 KB | None | 0 0
  1. ---Spooky Skeleton script by basstracker1970
  2.  
  3. for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
  4. if v.Name == "CharacterMesh" then
  5. v:Remove()
  6. end
  7. end
  8. wait(2)
  9. function sandbox(var,func)
  10. local env = getfenv(func)
  11. local newenv = setmetatable({},{
  12. __index = function(self,k)
  13. if k=="script" then
  14. return var
  15. else
  16. return env[k]
  17. end
  18. end,
  19. })
  20. setfenv(func,newenv)
  21. return func
  22. end
  23. cors = {}
  24. mas = Instance.new("Model",game:GetService("Lighting"))
  25. CharacterMesh0 = Instance.new("CharacterMesh")
  26. CharacterMesh1 = Instance.new("CharacterMesh")
  27. CharacterMesh2 = Instance.new("CharacterMesh")
  28. CharacterMesh3 = Instance.new("CharacterMesh")
  29. CharacterMesh4 = Instance.new("CharacterMesh")
  30. CharacterMesh0.Name = "Skeleton Left Arm"
  31. CharacterMesh0.Parent = mas
  32. CharacterMesh0.MeshId = 36780032
  33. CharacterMesh0.BodyPart = Enum.BodyPart.LeftArm
  34. CharacterMesh0.OverlayTextureId = 36780292
  35. CharacterMesh1.Name = "Skeleton Left Leg"
  36. CharacterMesh1.Parent = mas
  37. CharacterMesh1.MeshId = 36780079
  38. CharacterMesh1.BaseTextureId = 36780292
  39. CharacterMesh1.BodyPart = Enum.BodyPart.LeftLeg
  40. CharacterMesh1.OverlayTextureId = 36780292
  41. CharacterMesh2.Name = "Skeleton Right Arm"
  42. CharacterMesh2.Parent = mas
  43. CharacterMesh2.MeshId = 36780156
  44. CharacterMesh2.BodyPart = Enum.BodyPart.RightArm
  45. CharacterMesh2.OverlayTextureId = 36780292
  46. CharacterMesh3.Name = "Skeleton Right Leg"
  47. CharacterMesh3.Parent = mas
  48. CharacterMesh3.MeshId = 36780195
  49. CharacterMesh3.BodyPart = Enum.BodyPart.RightLeg
  50. CharacterMesh3.OverlayTextureId = 36780292
  51. CharacterMesh4.Name = "Skeleton Torso"
  52. CharacterMesh4.Parent = mas
  53. CharacterMesh4.MeshId = 36780113
  54. CharacterMesh4.BodyPart = Enum.BodyPart.Torso
  55. CharacterMesh4.OverlayTextureId = 36780292
  56. for i,v in pairs(mas:GetChildren()) do
  57. v.Parent = game:GetService("Players").LocalPlayer.Character
  58. pcall(function() v:MakeJoints() end)
  59. end
  60. mas:Destroy()
  61. for i,v in pairs(cors) do
  62. spawn(function()
  63. pcall(v)
  64. end)
  65. end
  66.  
  67. Player=game:GetService("Players").LocalPlayer
  68. Character=Player.Character
  69. PlayerGui=Player.PlayerGui
  70. Backpack=Player.Backpack
  71. Torso=Character.Torso
  72. Head=Character.Head
  73. Humanoid=Character.Humanoid
  74. LeftArm=Character["Left Arm"]
  75. LeftLeg=Character["Left Leg"]
  76. RightArm=Character["Right Arm"]
  77. RightLeg=Character["Right Leg"]
  78. LS=Torso["Left Shoulder"]
  79. LH=Torso["Left Hip"]
  80. RS=Torso["Right Shoulder"]
  81. RH=Torso["Right Hip"]
  82. Neck=Torso.Neck
  83. it=Instance.new
  84. vt=Vector3.new
  85. cf=CFrame.new
  86. euler=CFrame.fromEulerAnglesXYZ
  87. angles=CFrame.Angles
  88. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  89. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  90. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  91. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  92. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  93. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  94. RootPart=Character.HumanoidRootPart
  95. RootJoint=RootPart.RootJoint
  96. RootCF=euler(-1.57,0,3.14)
  97. attack = false
  98. attackdebounce = false
  99. MMouse=nil
  100. combo=0
  101. local idle=0
  102. local Anim="Idle"
  103. local Effects={}
  104. local Weapon={}
  105. local Welds={}
  106. local decreaseatk=0
  107. local decreasedef=0
  108. local decreasemvmt=0
  109. local guard=false
  110. local blocknum=50
  111. local addhit=false
  112. print("Spooky Scary Skeleton")
  113. local nametag = Instance.new("BillboardGui",Character.Head)
  114. nametag.StudsOffset = Vector3.new(0,2,0)
  115. nametag.Adornee = Character.Head
  116. nametag.Size = UDim2.new(0,200,0,50)
  117.  
  118. local text = Instance.new("TextLabel",nametag)
  119. text.Size = UDim2.new(0,200,0,50)
  120. text.BackgroundTransparency = 1
  121. text.Text = "Spooky Scary Skeleton"
  122. text.TextColor3 = Color3.new(180/255,0,0)
  123. text.TextStrokeColor3 = Color3.new(0,0,0)
  124. text.Font = Enum.Font.Fantasy
  125. text.TextScaled = true
  126. text.TextStrokeTransparency = 0
  127.  
  128. function swait(num)
  129. if num==0 or num==nil then
  130. --if Stagger.Value==false or Stun.Value<=100 then
  131. game:GetService("RunService").Heartbeat:wait()
  132. --end
  133. else
  134. for i=0,num do
  135. game:GetService("RunService").Heartbeat:wait()
  136. --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
  137. break
  138. end]]
  139. end
  140. end
  141. end
  142. song = Instance.new("Sound",Character)
  143. song.SoundId = "rbxassetid://177276825"
  144. song.Looped = true
  145. song:Play()
  146. while true do
  147. wait(0)
  148. swait()
  149. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement