Advertisement
cat568

Untitled

Jan 3rd, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.34 KB | None | 0 0
  1. --just put this on the top of a script and boom 89% works
  2. --note this does not work on big scripts
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127. self._btrs[name] = self.Heartbeat:Connect(fun)
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145.  
  146.  
  147.  
  148. -- Synapse Decompiler
  149. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  150.  
  151. local runDummyScript = function(f, scri)
  152. local oldenv = getfenv(f)
  153. local newenv = setmetatable({}, {
  154. __index = function(_, k)
  155. if k:lower() == "script" then
  156. return scri
  157. else
  158. return oldenv[k]
  159. end
  160. end
  161. })
  162. setfenv(f, newenv)
  163. ypcall(function()
  164. f()
  165. end)
  166. end
  167. cors = {}
  168. mas = Instance.new("Model", game:GetService("Lighting"))
  169. mas.Name = "CompiledModel"
  170. o1 = Instance.new("Model")
  171. o2 = Instance.new("Part")
  172. o3 = Instance.new("Weld")
  173. o4 = Instance.new("Part")
  174. o5 = Instance.new("Weld")
  175. o6 = Instance.new("Part")
  176. o7 = Instance.new("Weld")
  177. o8 = Instance.new("Part")
  178. o9 = Instance.new("Weld")
  179. o10 = Instance.new("Part")
  180. o11 = Instance.new("Weld")
  181. o12 = Instance.new("Part")
  182. o13 = Instance.new("Weld")
  183. o14 = Instance.new("Part")
  184. o15 = Instance.new("Weld")
  185. o16 = Instance.new("Part")
  186. o17 = Instance.new("Weld")
  187. o18 = Instance.new("Part")
  188. o19 = Instance.new("Weld")
  189. o20 = Instance.new("Part")
  190. o21 = Instance.new("Part")
  191. o22 = Instance.new("Weld")
  192. o23 = Instance.new("Part")
  193. o24 = Instance.new("Weld")
  194. o25 = Instance.new("Part")
  195. o26 = Instance.new("Weld")
  196. o27 = Instance.new("Part")
  197. o28 = Instance.new("SpecialMesh")
  198. o29 = Instance.new("Weld")
  199. o30 = Instance.new("Part")
  200. o31 = Instance.new("SpecialMesh")
  201. o32 = Instance.new("Weld")
  202. o33 = Instance.new("Part")
  203. o34 = Instance.new("Weld")
  204. o35 = Instance.new("Part")
  205. o36 = Instance.new("SpecialMesh")
  206. o37 = Instance.new("Weld")
  207. o38 = Instance.new("Part")
  208. o39 = Instance.new("SpecialMesh")
  209. o40 = Instance.new("Weld")
  210. o41 = Instance.new("Part")
  211. o42 = Instance.new("Weld")
  212. o43 = Instance.new("Part")
  213. o44 = Instance.new("Weld")
  214. o45 = Instance.new("Part")
  215. o46 = Instance.new("Weld")
  216. o47 = Instance.new("Part")
  217. o48 = Instance.new("Weld")
  218. o49 = Instance.new("Part")
  219. o50 = Instance.new("Weld")
  220. o51 = Instance.new("Part")
  221. o52 = Instance.new("SpecialMesh")
  222. o53 = Instance.new("Weld")
  223. o54 = Instance.new("Part")
  224. o55 = Instance.new("SpecialMesh")
  225. o56 = Instance.new("Weld")
  226. o57 = Instance.new("Part")
  227. o58 = Instance.new("Weld")
  228. o59 = Instance.new("Part")
  229. o60 = Instance.new("SpecialMesh")
  230. o61 = Instance.new("Weld")
  231. o62 = Instance.new("Part")
  232. o63 = Instance.new("SpecialMesh")
  233. o64 = Instance.new("Weld")
  234. o65 = Instance.new("Part")
  235. o66 = Instance.new("Weld")
  236. o67 = Instance.new("Part")
  237. o68 = Instance.new("Weld")
  238. o69 = Instance.new("Part")
  239. o70 = Instance.new("Weld")
  240. o1.Parent = mas
  241. o2.Parent = o1
  242. o2.Material = Enum.Material.Neon
  243. o2.BrickColor = BrickColor.new("Institutional white")
  244. o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936)
  245. o2.Rotation = Vector3.new(165, -0.519999981, 179.339996)
  246. o2.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  247. o2.CFrame = CFrame.new(2.01843858, 3.79534531, -0.256092936, -0.999890625, -0.0116026225, -0.00915808417, -0.00883699115, 0.96587497, -0.258858204, 0.0118489964, -0.258749008, -0.96587193)
  248. o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  249. o2.Position = Vector3.new(2.01843858, 3.79534531, -0.256092936)
  250. o2.Orientation = Vector3.new(15, -179.460007, -0.519999981)
  251. o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  252. o3.Name = "Joint"
  253. o3.Parent = o2
  254. o3.C0 = CFrame.new(0.528523922, -0.861619711, -0.0171282887, -0.999964595, -0.00840907171, 7.80839473E-5, -0.00812376011, 0.96355325, -0.26739341, 0.00217329431, -0.267384589, -0.963587463)
  255. o3.Part0 = o2
  256. o3.Part1 = o20
  257. o4.Parent = o1
  258. o4.Material = Enum.Material.Neon
  259. o4.BrickColor = BrickColor.new("Institutional white")
  260. o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206)
  261. o4.Rotation = Vector3.new(-172.5, -0.74000001, 179.589996)
  262. o4.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  263. o4.CFrame = CFrame.new(2.01929164, 3.70664787, -0.25042206, -0.999890625, -0.00721688289, -0.0128994547, -0.00883899163, 0.991411388, 0.130481288, 0.011846995, 0.130581066, -0.991366923)
  264. o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  265. o4.Position = Vector3.new(2.01929164, 3.70664787, -0.25042206)
  266. o4.Orientation = Vector3.new(-7.5, -179.25, -0.50999999)
  267. o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  268. o5.Name = "Joint"
  269. o5.Parent = o4
  270. o5.C0 = CFrame.new(0.528526783, -0.702271938, -0.328355253, -0.999964535, -0.00841108989, 7.61011615E-5, -0.00833929144, 0.992529452, 0.121720426, -0.00109933503, 0.121715471, -0.992564499)
  271. o5.Part0 = o4
  272. o5.Part1 = o20
  273. o6.Parent = o1
  274. o6.Material = Enum.Material.Neon
  275. o6.BrickColor = BrickColor.new("Institutional white")
  276. o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865)
  277. o6.Rotation = Vector3.new(-37.5, -0.74000001, 179.589996)
  278. o6.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  279. o6.CFrame = CFrame.new(2.01928878, 3.75653982, -0.346634865, -0.999890685, -0.00721472735, -0.0129033476, -0.00213099457, -0.793370485, 0.608735323, -0.0146289961, 0.608696342, 0.793268323)
  280. o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  281. o6.Position = Vector3.new(2.01928878, 3.75653982, -0.346634865)
  282. o6.Orientation = Vector3.new(-37.5, -0.930000007, -179.850006)
  283. o6.Color = Color3.new(0.972549, 0.972549, 0.972549)
  284. o7.Name = "Joint"
  285. o7.Parent = o6
  286. o7.C0 = CFrame.new(0.515877366, 0.838102102, -0.209653616, -0.999648094, -0.00193743419, -0.026456276, -0.0147638759, -0.787955523, 0.615555167, -0.0220389664, 0.615729153, 0.787649512)
  287. o7.Part0 = o6
  288. o7.Part1 = o20
  289. o8.Parent = o1
  290. o8.Material = Enum.Material.Neon
  291. o8.BrickColor = BrickColor.new("Institutional white")
  292. o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968)
  293. o8.Rotation = Vector3.new(-60, -0.519999981, 179.339996)
  294. o8.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  295. o8.CFrame = CFrame.new(2.01843858, 3.69782782, -0.279909968, -0.999890804, -0.0115992408, -0.00915751234, -0.00213099481, -0.500013113, 0.866015196, -0.0146239968, 0.865940154, 0.499933809)
  296. o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  297. o8.Position = Vector3.new(2.01843858, 3.69782782, -0.279909968)
  298. o8.Orientation = Vector3.new(-60, -1.04999995, -179.759995)
  299. o8.Color = Color3.new(0.972549, 0.972549, 0.972549)
  300. o9.Name = "Joint"
  301. o9.Parent = o8
  302. o9.C0 = CFrame.new(0.515879512, 0.606918216, -0.496954203, -0.999648273, -0.00193739019, -0.0264512785, -0.0220698789, -0.492333829, 0.870126605, -0.0147086382, 0.870404363, 0.492117912)
  303. o9.Part0 = o8
  304. o9.Part1 = o20
  305. o10.Parent = o1
  306. o10.Material = Enum.Material.Neon
  307. o10.BrickColor = BrickColor.new("Institutional white")
  308. o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431)
  309. o10.Rotation = Vector3.new(-120, 0.519999981, -0.660000026)
  310. o10.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  311. o10.CFrame = CFrame.new(0.931878984, 3.69782877, 0.290648431, 0.999890685, 0.0116018439, 0.00915900338, -0.00213100435, -0.500013053, 0.866015255, 0.0146269985, -0.865940154, -0.49993372)
  312. o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  313. o10.Position = Vector3.new(0.931878984, 3.69782877, 0.290648431)
  314. o10.Orientation = Vector3.new(-60, 178.949997, -179.759995)
  315. o10.Color = Color3.new(0.972549, 0.972549, 0.972549)
  316. o11.Name = "Joint"
  317. o11.Parent = o10
  318. o11.C0 = CFrame.new(0.565348864, 0.634711862, -0.480786085, 0.999646306, -0.00232441584, 0.02649194, 0.0216448922, -0.507653236, -0.86128962, 0.0154507086, 0.861558378, -0.507423341)
  319. o11.Part0 = o10
  320. o11.Part1 = o20
  321. o12.Parent = o1
  322. o12.Material = Enum.Material.Neon
  323. o12.BrickColor = BrickColor.new("Institutional white")
  324. o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416)
  325. o12.Rotation = Vector3.new(-142.5, 0.74000001, -0.409999996)
  326. o12.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  327. o12.CFrame = CFrame.new(0.931028008, 3.75654054, 0.357373416, 0.999890745, 0.00721476413, 0.0129033243, -0.00213100435, -0.793369174, 0.608737111, 0.0146289971, -0.60869807, -0.793267071)
  328. o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
  329. o12.Position = Vector3.new(0.931028008, 3.75654054, 0.357373416)
  330. o12.Orientation = Vector3.new(-37.5, 179.070007, -179.850006)
  331. o12.Color = Color3.new(0.972549, 0.972549, 0.972549)
  332. o13.Name = "Joint"
  333. o13.Parent = o12
  334. o13.C0 = CFrame.new(0.565348148, 0.857591152, -0.184082627, 0.999646306, -0.00232439814, 0.0264939386, 0.0140854772, -0.798722088, -0.60153532, 0.0225594956, 0.601695657, -0.79840678)
  335. o13.Part0 = o12
  336. o13.Part1 = o20
  337. o14.Parent = o1
  338. o14.Material = Enum.Material.Neon
  339. o14.BrickColor = BrickColor.new("Institutional white")
  340. o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433)
  341. o14.Rotation = Vector3.new(-7.5, 0.74000001, -0.409999996)
  342. o14.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  343. o14.CFrame = CFrame.new(0.931028008, 3.70664787, 0.261160433, 0.999890745, 0.00721658766, 0.0129001662, -0.0088388212, 0.991411448, 0.130482212, -0.0118477289, -0.13058199, 0.991366923)
  344. o14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  345. o14.Position = Vector3.new(0.931028008, 3.70664787, 0.261160433)
  346. o14.Orientation = Vector3.new(-7.5, 0.75, -0.50999999)
  347. o14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  348. o15.Name = "Joint"
  349. o15.Parent = o14
  350. o15.C0 = CFrame.new(0.578826845, -0.697807789, -0.35886538, 0.999957085, -0.00926603936, 7.93803483E-5, 0.00918682106, 0.990215838, -0.139243081, 0.00121162832, 0.139237821, 0.990258455)
  351. o15.Part0 = o14
  352. o15.Part1 = o20
  353. o16.Parent = o1
  354. o16.Material = Enum.Material.Neon
  355. o16.BrickColor = BrickColor.new("Institutional white")
  356. o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835)
  357. o16.Rotation = Vector3.new(15, 0.519999981, -0.660000026)
  358. o16.Size = Vector3.new(0.0500000007, 0.100000001, 0.0500000007)
  359. o16.CFrame = CFrame.new(0.931879044, 3.79534578, 0.266828835, 0.999890745, 0.0116029736, 0.00915803667, -0.00883735623, 0.965874612, -0.258859128, -0.0118490467, 0.258749872, 0.965871692)
  360. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  361. o16.Position = Vector3.new(0.931879044, 3.79534578, 0.266828835)
  362. o16.Orientation = Vector3.new(15, 0.540000021, -0.519999981)
  363. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  364. o17.Name = "Joint"
  365. o17.Parent = o16
  366. o17.C0 = CFrame.new(0.578826129, -0.869171381, -0.0470205545, 0.999957085, -0.00926458556, 7.80494884E-5, 0.00895007607, 0.968120754, 0.250323892, -0.00239470415, -0.250312507, 0.968162179)
  367. o17.Part0 = o16
  368. o17.Part1 = o20
  369. o18.Name = "fake"
  370. o18.Parent = o1
  371. o18.Material = Enum.Material.SmoothPlastic
  372. o18.BrickColor = BrickColor.new("Really black")
  373. o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
  374. o18.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  375. o18.CanCollide = false
  376. o18.Locked = true
  377. o18.FormFactor = Enum.FormFactor.Symmetric
  378. o18.Size = Vector3.new(1.06999993, 0.120000005, 1)
  379. o18.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -3.22859967E-4, 0.0118490048, 4.2756967E-4, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
  380. o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  381. o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  382. o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  383. o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  385. o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  386. o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  387. o18.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
  388. o18.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  389. o18.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  390. o19.Name = "Joint"
  391. o19.Parent = o18
  392. o19.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599E-9, 9.31322575E-10, -4.8239599E-9, 0.99999994, 9.31322575E-10, 9.31322575E-10, 9.31322575E-10, 1)
  393. o19.Part0 = o18
  394. o19.Part1 = o20
  395. o20.Name = "REF"
  396. o20.Parent = o1
  397. o20.BrickColor = BrickColor.new("Institutional white")
  398. o20.Transparency = 1
  399. o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097)
  400. o20.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  401. o20.CanCollide = false
  402. o20.Locked = true
  403. o20.FormFactor = Enum.FormFactor.Symmetric
  404. o20.Size = Vector3.new(1, 2, 1)
  405. o20.CFrame = CFrame.new(1.50012636, 2.96289158, -0.0103435097, 0.999929726, -3.22855165E-4, 0.0118490038, 4.2757453E-4, 0.99996084, -0.00883676019, -0.0118456865, 0.00884120632, 0.999890745)
  406. o20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  407. o20.Position = Vector3.new(1.50012636, 2.96289158, -0.0103435097)
  408. o20.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  409. o20.Color = Color3.new(0.972549, 0.972549, 0.972549)
  410. o21.Name = "fake"
  411. o21.Parent = o1
  412. o21.Material = Enum.Material.Neon
  413. o21.BrickColor = BrickColor.new("Institutional white")
  414. o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
  415. o21.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  416. o21.CanCollide = false
  417. o21.Locked = true
  418. o21.FormFactor = Enum.FormFactor.Symmetric
  419. o21.Size = Vector3.new(1.08000004, 0.100000001, 1.00999999)
  420. o21.CFrame = CFrame.new(1.47481501, 3.93284297, -0.00147139654, 0.999929667, -3.22859967E-4, 0.0118490048, 4.2756967E-4, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
  421. o21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  422. o21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  423. o21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  424. o21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  425. o21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  426. o21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  427. o21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  428. o21.Position = Vector3.new(1.47481501, 3.93284297, -0.00147139654)
  429. o21.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  430. o21.Color = Color3.new(0.972549, 0.972549, 0.972549)
  431. o22.Name = "Joint"
  432. o22.Parent = o21
  433. o22.C0 = CFrame.new(0.0249999762, -0.970000029, 0, 0.99999994, -4.8239599E-9, 9.31322575E-10, -4.8239599E-9, 0.99999994, 9.31322575E-10, 9.31322575E-10, 9.31322575E-10, 1)
  434. o22.Part0 = o21
  435. o22.Part1 = o20
  436. o23.Name = "part"
  437. o23.Parent = o1
  438. o23.Material = Enum.Material.SmoothPlastic
  439. o23.BrickColor = BrickColor.new("Really black")
  440. o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955)
  441. o23.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  442. o23.CanCollide = false
  443. o23.Locked = true
  444. o23.FormFactor = Enum.FormFactor.Symmetric
  445. o23.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
  446. o23.CFrame = CFrame.new(1.78174424, 3.20232034, -0.499926955, 0.999929667, -3.22859967E-4, 0.0118490048, 4.2756967E-4, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
  447. o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  448. o23.Position = Vector3.new(1.78174424, 3.20232034, -0.499926955)
  449. o23.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  450. o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  451. o24.Name = "Joint"
  452. o24.Parent = o23
  453. o24.C0 = CFrame.new(-0.287499905, -0.234999895, 0.488308817, 0.99999994, -4.8239599E-9, 9.31322575E-10, -4.8239599E-9, 0.99999994, 9.31322575E-10, 9.31322575E-10, 9.31322575E-10, 1)
  454. o24.Part0 = o23
  455. o24.Part1 = o20
  456. o25.Name = "part"
  457. o25.Parent = o1
  458. o25.Material = Enum.Material.SmoothPlastic
  459. o25.BrickColor = BrickColor.new("Really black")
  460. o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208)
  461. o25.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  462. o25.CanCollide = false
  463. o25.Locked = true
  464. o25.FormFactor = Enum.FormFactor.Symmetric
  465. o25.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
  466. o25.CFrame = CFrame.new(1.20953107, 3.20207596, -0.493148208, 0.999929667, -3.22859967E-4, 0.0118490048, 4.2756967E-4, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
  467. o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  468. o25.Position = Vector3.new(1.20953107, 3.20207596, -0.493148208)
  469. o25.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  470. o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  471. o26.Name = "Joint"
  472. o26.Parent = o25
  473. o26.C0 = CFrame.new(0.284753442, -0.235000372, 0.488308817, 0.99999994, -4.8239599E-9, 9.31322575E-10, -4.8239599E-9, 0.99999994, 9.31322575E-10, 9.31322575E-10, 9.31322575E-10, 1)
  474. o26.Part0 = o25
  475. o26.Part1 = o20
  476. o27.Name = "part"
  477. o27.Parent = o1
  478. o27.Material = Enum.Material.SmoothPlastic
  479. o27.BrickColor = BrickColor.new("Really black")
  480. o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156)
  481. o27.Rotation = Vector3.new(0, 89.3199997, -179.979996)
  482. o27.CanCollide = false
  483. o27.Locked = true
  484. o27.FormFactor = Enum.FormFactor.Symmetric
  485. o27.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
  486. o27.CFrame = CFrame.new(1.7791779, 1.9886167, -0.518110156, -0.0118680019, 4.2349493E-6, 0.999929428, -3.49064358E-4, -0.999999881, 8.25966708E-8, 0.999929488, -3.49041075E-4, 0.0118680047)
  487. o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  488. o27.Position = Vector3.new(1.7791779, 1.9886167, -0.518110156)
  489. o27.Orientation = Vector3.new(0, 89.3199997, -179.979996)
  490. o27.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  491. o28.Parent = o27
  492. o28.MeshType = Enum.MeshType.Wedge
  493. o29.Name = "Joint"
  494. o29.Parent = o27
  495. o29.C0 = CFrame.new(0.51070261, -0.97445333, -0.273005605, -0.0237121694, 0.00849536248, 0.999682665, -4.1921006E-4, -0.99996388, 0.00848780759, 0.999718666, -2.17817505E-4, 0.0237148758)
  496. o29.Part0 = o27
  497. o29.Part1 = o20
  498. o30.Name = "part"
  499. o30.Parent = o1
  500. o30.Material = Enum.Material.SmoothPlastic
  501. o30.BrickColor = BrickColor.new("Really black")
  502. o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495)
  503. o30.Rotation = Vector3.new(0, -89.3199997, -179.979996)
  504. o30.CanCollide = false
  505. o30.Locked = true
  506. o30.FormFactor = Enum.FormFactor.Symmetric
  507. o30.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
  508. o30.CFrame = CFrame.new(1.21444392, 1.98861659, -0.511407495, -0.0118680345, 4.14910755E-6, -0.999929488, -3.49195674E-4, -0.999999881, 4.82316409E-9, -0.999929488, 3.49170528E-4, 0.0118680345)
  509. o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  510. o30.Position = Vector3.new(1.21444392, 1.98861659, -0.511407495)
  511. o30.Orientation = Vector3.new(0, -89.3199997, -179.979996)
  512. o30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  513. o31.Parent = o30
  514. o31.MeshType = Enum.MeshType.Wedge
  515. o32.Name = "Joint"
  516. o32.Parent = o30
  517. o32.C0 = CFrame.new(-0.504759371, -0.974098802, -0.279715657, -2.24979594E-5, -0.00918593351, -0.9999578, -4.27566702E-4, -0.999957681, 0.00918594189, -0.999999881, 4.27760155E-4, 1.85696408E-5)
  518. o32.Part0 = o30
  519. o32.Part1 = o20
  520. o33.Name = "part"
  521. o33.Parent = o1
  522. o33.Material = Enum.Material.Neon
  523. o33.BrickColor = BrickColor.new("Institutional white")
  524. o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614)
  525. o33.Rotation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  526. o33.CanCollide = false
  527. o33.Locked = true
  528. o33.FormFactor = Enum.FormFactor.Symmetric
  529. o33.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334)
  530. o33.CFrame = CFrame.new(1.49197471, 2.9470253, -0.478182614, 0.999929667, -3.22859967E-4, 0.0118490048, 4.2756967E-4, 0.99996078, -0.00883675925, -0.0118456846, 0.00884120632, 0.999890745)
  531. o33.Color = Color3.new(0.972549, 0.972549, 0.972549)
  532. o33.Position = Vector3.new(1.49197471, 2.9470253, -0.478182614)
  533. o33.Orientation = Vector3.new(0.50999999, 0.680000007, 0.0199999996)
  534. o33.Color = Color3.new(0.972549, 0.972549, 0.972549)
  535. o34.Name = "Joint"
  536. o34.Parent = o33
  537. o34.C0 = CFrame.new(0.00261592865, 0.0199992657, 0.46774438, 0.99999994, -4.8239599E-9, 9.31322575E-10, -4.8239599E-9, 0.99999994, 9.31322575E-10, 9.31322575E-10, 9.31322575E-10, 1)
  538. o34.Part0 = o33
  539. o34.Part1 = o20
  540. o35.Name = "part"
  541. o35.Parent = o1
  542. o35.Material = Enum.Material.SmoothPlastic
  543. o35.BrickColor = BrickColor.new("Really black")
  544. o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215)
  545. o35.Rotation = Vector3.new(-92.5699997, -74.9800034, -92.6800003)
  546. o35.CanCollide = false
  547. o35.Locked = true
  548. o35.FormFactor = Enum.FormFactor.Symmetric
  549. o35.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
  550. o35.CFrame = CFrame.new(1.68771875, 2.15190101, -0.512167215, -0.0121328495, 0.258796006, -0.965855658, -3.37170437E-4, 0.965925634, 0.258819014, 0.999926329, 0.00346587342, -0.0116321743)
  551. o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  552. o35.Position = Vector3.new(1.68771875, 2.15190101, -0.512167215)
  553. o35.Orientation = Vector3.new(-15, -90.6900024, -0.0199999996)
  554. o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  555. o36.Parent = o35
  556. o36.MeshType = Enum.MeshType.Wedge
  557. o37.Name = "Joint"
  558. o37.Parent = o35
  559. o37.C0 = CFrame.new(0.503789365, 0.736547947, 0.385249794, -0.0239769556, 0.00850731414, 0.999676287, 0.25914979, 0.965834975, -0.00200368534, -0.965539336, 0.259017885, -0.0253624525)
  560. o37.Part0 = o35
  561. o37.Part1 = o20
  562. o38.Name = "part"
  563. o38.Parent = o1
  564. o38.Material = Enum.Material.SmoothPlastic
  565. o38.BrickColor = BrickColor.new("Really black")
  566. o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134)
  567. o38.Rotation = Vector3.new(-92.5599976, 74.9899979, 92.6299973)
  568. o38.CanCollide = false
  569. o38.Locked = true
  570. o38.FormFactor = Enum.FormFactor.Symmetric
  571. o38.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
  572. o38.CFrame = CFrame.new(1.29420042, 2.14426303, -0.512318134, -0.0118680531, -0.25880447, 0.965860248, -3.49207781E-4, 0.965930641, 0.258818835, -0.999934316, 0.00273436401, -0.011553946)
  573. o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  574. o38.Position = Vector3.new(1.29420042, 2.14426303, -0.512318134)
  575. o38.Orientation = Vector3.new(-15, 90.6900024, -0.0199999996)
  576. o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  577. o39.Parent = o38
  578. o39.MeshType = Enum.MeshType.Wedge
  579. o40.Name = "Joint"
  580. o40.Parent = o38
  581. o40.C0 = CFrame.new(-0.504666567, 0.738809347, 0.404969215, -2.24588439E-5, -0.00918598752, -0.999962628, -0.258405656, 0.966000617, -0.00886820722, 0.966039956, 0.258394748, -0.00239532255)
  582. o40.Part0 = o38
  583. o40.Part1 = o20
  584. o41.Name = "part"
  585. o41.Parent = o1
  586. o41.Material = Enum.Material.Neon
  587. o41.BrickColor = BrickColor.new("Institutional white")
  588. o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186)
  589. o41.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
  590. o41.CanCollide = false
  591. o41.Locked = true
  592. o41.FormFactor = Enum.FormFactor.Symmetric
  593. o41.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334)
  594. o41.CFrame = CFrame.new(0.96263957, 2.98702359, 0.00922585186, -0.0118459975, 0.00884199701, 0.999890685, 4.28000465E-4, 0.99996084, -0.0088375546, -0.999929726, 3.23263928E-4, -0.0118493168)
  595. o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
  596. o41.Position = Vector3.new(0.96263957, 2.98702359, 0.00922585186)
  597. o41.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
  598. o41.Color = Color3.new(0.972549, 0.972549, 0.972549)
  599. o42.Name = "Joint"
  600. o42.Parent = o41
  601. o42.C0 = CFrame.new(0.0131905926, -0.019384861, 0.537873149, -1.27591193E-7, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675E-5)
  602. o42.Part0 = o41
  603. o42.Part1 = o20
  604. o43.Name = "part"
  605. o43.Parent = o1
  606. o43.Material = Enum.Material.SmoothPlastic
  607. o43.BrickColor = BrickColor.new("Really black")
  608. o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743)
  609. o43.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
  610. o43.CanCollide = false
  611. o43.Locked = true
  612. o43.FormFactor = Enum.FormFactor.Symmetric
  613. o43.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
  614. o43.CFrame = CFrame.new(0.945154786, 2.95708537, 0.291576743, -0.0118459975, 0.00884199701, 0.999890685, 4.28000465E-4, 0.99996084, -0.0088375546, -0.999929726, 3.23263928E-4, -0.0118493168)
  615. o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  616. o43.Position = Vector3.new(0.945154786, 2.95708537, 0.291576743)
  617. o43.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
  618. o43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  619. o44.Name = "Joint"
  620. o44.Parent = o43
  621. o44.C0 = CFrame.new(0.295327336, 0.0106153488, 0.558437169, -1.27591193E-7, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675E-5)
  622. o44.Part0 = o43
  623. o44.Part1 = o20
  624. o45.Name = "part"
  625. o45.Parent = o1
  626. o45.Material = Enum.Material.SmoothPlastic
  627. o45.BrickColor = BrickColor.new("Really black")
  628. o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327)
  629. o45.Rotation = Vector3.new(143.279999, 89.1500015, -143.259995)
  630. o45.CanCollide = false
  631. o45.Locked = true
  632. o45.FormFactor = Enum.FormFactor.Symmetric
  633. o45.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
  634. o45.CFrame = CFrame.new(0.938376665, 2.95732975, -0.280635327, -0.0118459975, 0.00884199701, 0.999890685, 4.28000465E-4, 0.99996084, -0.0088375546, -0.999929726, 3.23263928E-4, -0.0118493168)
  635. o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  636. o45.Position = Vector3.new(0.938376665, 2.95732975, -0.280635327)
  637. o45.Orientation = Vector3.new(0.50999999, 90.6800003, 0.0199999996)
  638. o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  639. o46.Name = "Joint"
  640. o46.Parent = o45
  641. o46.C0 = CFrame.new(-0.276924908, 0.0106160641, 0.558436334, -1.27591193E-7, -0.00840877742, -0.999964654, 0.00926510897, 0.999921739, -0.00840841699, 0.999957085, -0.00926478673, 7.77812675E-5)
  642. o46.Part0 = o45
  643. o46.Part1 = o20
  644. o47.Name = "part"
  645. o47.Parent = o1
  646. o47.Material = Enum.Material.SmoothPlastic
  647. o47.BrickColor = BrickColor.new("Really black")
  648. o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152)
  649. o47.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
  650. o47.CanCollide = false
  651. o47.Locked = true
  652. o47.FormFactor = Enum.FormFactor.Symmetric
  653. o47.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
  654. o47.CFrame = CFrame.new(1.2103591, 3.2023201, 0.502368152, -0.999929786, 3.23240965E-4, -0.0118513182, 4.28004656E-4, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
  655. o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  656. o47.Position = Vector3.new(1.2103591, 3.2023201, 0.502368152)
  657. o47.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
  658. o47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  659. o48.Name = "Joint"
  660. o48.Parent = o47
  661. o48.C0 = CFrame.new(-0.295923948, -0.234791994, 0.511337459, -0.999999702, 8.55566177E-4, -5.251728E-6, 8.55520484E-4, 0.999843419, -0.0176736191, -9.87201929E-6, -0.0176736191, -0.999843836)
  662. o48.Part0 = o47
  663. o48.Part1 = o20
  664. o49.Name = "part"
  665. o49.Parent = o1
  666. o49.Material = Enum.Material.SmoothPlastic
  667. o49.BrickColor = BrickColor.new("Really black")
  668. o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359)
  669. o49.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
  670. o49.CanCollide = false
  671. o49.Locked = true
  672. o49.FormFactor = Enum.FormFactor.Symmetric
  673. o49.Size = Vector3.new(0.420000017, 1.52999997, 0.0900000334)
  674. o49.CFrame = CFrame.new(1.78257418, 3.20207596, 0.495590359, -0.999929786, 3.23240965E-4, -0.0118513182, 4.28004656E-4, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
  675. o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  676. o49.Position = Vector3.new(1.78257418, 3.20207596, 0.495590359)
  677. o49.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
  678. o49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  679. o50.Name = "Joint"
  680. o50.Parent = o49
  681. o50.C0 = CFrame.new(0.276331306, -0.234792948, 0.511339784, -0.999999702, 8.55566177E-4, -5.251728E-6, 8.55520484E-4, 0.999843419, -0.0176736191, -9.87201929E-6, -0.0176736191, -0.999843836)
  682. o50.Part0 = o49
  683. o50.Part1 = o20
  684. o51.Name = "part"
  685. o51.Parent = o1
  686. o51.Material = Enum.Material.SmoothPlastic
  687. o51.BrickColor = BrickColor.new("Really black")
  688. o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126)
  689. o51.Rotation = Vector3.new(-179.979996, 89.3199997, 0)
  690. o51.CanCollide = false
  691. o51.Locked = true
  692. o51.FormFactor = Enum.FormFactor.Symmetric
  693. o51.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
  694. o51.CFrame = CFrame.new(1.77766001, 1.98861575, 0.513848126, 0.0118700052, 4.53292159E-9, 0.999929488, -3.48999165E-4, -0.99999994, 4.13778162E-6, 0.999929428, -3.49026173E-4, -0.0118700033)
  695. o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  696. o51.Position = Vector3.new(1.77766001, 1.98861575, 0.513848126)
  697. o51.Orientation = Vector3.new(0, 90.6800003, -179.979996)
  698. o51.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  699. o52.Parent = o51
  700. o52.MeshType = Enum.MeshType.Wedge
  701. o53.Name = "Joint"
  702. o53.Parent = o51
  703. o53.C0 = CFrame.new(-0.527789056, -0.974092722, -0.271287918, 2.41706148E-5, 0.00848776475, 0.999963939, -4.2344039E-4, -0.999963939, 0.00848777313, 0.999999881, -4.23635094E-4, -2.05747783E-5)
  704. o53.Part0 = o51
  705. o53.Part1 = o20
  706. o54.Name = "part"
  707. o54.Parent = o1
  708. o54.Material = Enum.Material.SmoothPlastic
  709. o54.BrickColor = BrickColor.new("Really black")
  710. o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262)
  711. o54.Rotation = Vector3.new(-87.4400024, -74.9800034, -87.3700027)
  712. o54.CanCollide = false
  713. o54.Locked = true
  714. o54.FormFactor = Enum.FormFactor.Symmetric
  715. o54.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
  716. o54.CFrame = CFrame.new(1.69790125, 2.1442709, 0.514756262, 0.0118700052, 0.258803964, -0.965856969, -3.48999165E-4, 0.965925872, 0.258818179, 0.999929428, -0.00273508951, 0.0115558673)
  717. o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  718. o54.Position = Vector3.new(1.69790125, 2.1442709, 0.514756262)
  719. o54.Orientation = Vector3.new(-15, -89.3099976, -0.0199999996)
  720. o54.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  721. o55.Parent = o54
  722. o55.MeshType = Enum.MeshType.Wedge
  723. o56.Name = "Joint"
  724. o56.Parent = o54
  725. o56.C0 = CFrame.new(-0.527696073, 0.740978241, 0.396828115, 2.41706148E-5, 0.00848776475, 0.999963939, 0.25923121, 0.965780377, -0.00820387714, -0.965815365, 0.25922209, -0.00217695255)
  726. o56.Part0 = o54
  727. o56.Part1 = o20
  728. o57.Name = "part"
  729. o57.Parent = o1
  730. o57.Material = Enum.Material.Neon
  731. o57.BrickColor = BrickColor.new("Institutional white")
  732. o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318)
  733. o57.Rotation = Vector3.new(179.490005, -0.680000007, -179.979996)
  734. o57.CanCollide = false
  735. o57.Locked = true
  736. o57.FormFactor = Enum.FormFactor.Symmetric
  737. o57.Size = Vector3.new(0.790000021, 2.03999996, 0.0900000334)
  738. o57.CFrame = CFrame.new(1.50013006, 2.94702506, 0.480624318, -0.999929786, 3.23240965E-4, -0.0118513182, 4.28004656E-4, 0.99996078, -0.00883754995, 0.0118479962, -0.00884199981, -0.999890745)
  739. o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
  740. o57.Position = Vector3.new(1.50013006, 2.94702506, 0.480624318)
  741. o57.Orientation = Vector3.new(0.50999999, -179.320007, 0.0199999996)
  742. o57.Color = Color3.new(0.972549, 0.972549, 0.972549)
  743. o58.Name = "Joint"
  744. o58.Parent = o57
  745. o58.C0 = CFrame.new(-0.00580644608, 0.0202069283, 0.490774006, -0.999999702, 8.55566177E-4, -5.251728E-6, 8.55520484E-4, 0.999843419, -0.0176736191, -9.87201929E-6, -0.0176736191, -0.999843836)
  746. o58.Part0 = o57
  747. o58.Part1 = o20
  748. o59.Name = "part"
  749. o59.Parent = o1
  750. o59.Material = Enum.Material.SmoothPlastic
  751. o59.BrickColor = BrickColor.new("Really black")
  752. o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277)
  753. o59.Rotation = Vector3.new(-87.4300003, 74.9800034, 87.3199997)
  754. o59.CanCollide = false
  755. o59.Locked = true
  756. o59.FormFactor = Enum.FormFactor.Symmetric
  757. o59.Size = Vector3.new(0.0500000007, 0.519999981, 0.430000037)
  758. o59.CFrame = CFrame.new(1.30438602, 2.15190077, 0.514609277, 0.0121339997, -0.258795023, 0.965856075, -3.37000936E-4, 0.965926051, 0.25881803, -0.999926329, -0.0034659924, 0.0116333365)
  759. o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  760. o59.Position = Vector3.new(1.30438602, 2.15190077, 0.514609277)
  761. o59.Orientation = Vector3.new(-15, 89.3099976, -0.0199999996)
  762. o59.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  763. o60.Parent = o59
  764. o60.MeshType = Enum.MeshType.Wedge
  765. o61.Name = "Joint"
  766. o61.Parent = o59
  767. o61.C0 = CFrame.new(0.527015865, 0.734519839, 0.392848969, 0.0239778198, -0.00918145943, -0.999670327, -0.258322775, 0.965941191, -0.0150677348, 0.965761125, 0.258598924, 0.0207893848)
  768. o61.Part0 = o59
  769. o61.Part1 = o20
  770. o62.Name = "part"
  771. o62.Parent = o1
  772. o62.Material = Enum.Material.SmoothPlastic
  773. o62.BrickColor = BrickColor.new("Really black")
  774. o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324)
  775. o62.Rotation = Vector3.new(179.979996, -89.3199997, 0)
  776. o62.CanCollide = false
  777. o62.Locked = true
  778. o62.FormFactor = Enum.FormFactor.Symmetric
  779. o62.Size = Vector3.new(0.0500000007, 0.949999988, 0.430000037)
  780. o62.CFrame = CFrame.new(1.21292591, 1.98861599, 0.520551324, 0.011865994, 4.53292159E-9, -0.999929607, -3.49001028E-4, -0.99999994, -4.13636735E-6, -0.999929547, 3.49023379E-4, -0.011865994)
  781. o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  782. o62.Position = Vector3.new(1.21292591, 1.98861599, 0.520551324)
  783. o62.Orientation = Vector3.new(0, -90.6800003, -179.979996)
  784. o62.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  785. o63.Parent = o62
  786. o63.MeshType = Enum.MeshType.Wedge
  787. o64.Name = "Joint"
  788. o64.Parent = o62
  789. o64.C0 = CFrame.new(0.533925354, -0.97446084, -0.280884624, 0.0237098634, -0.00919340085, -0.999676585, -4.31709253E-4, -0.99995774, 0.00918574631, -0.999718845, 2.13781706E-4, -0.0237128306)
  790. o64.Part0 = o62
  791. o64.Part1 = o20
  792. o65.Name = "part"
  793. o65.Parent = o1
  794. o65.Material = Enum.Material.Neon
  795. o65.BrickColor = BrickColor.new("Institutional white")
  796. o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127)
  797. o65.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
  798. o65.CanCollide = false
  799. o65.Locked = true
  800. o65.FormFactor = Enum.FormFactor.Symmetric
  801. o65.Size = Vector3.new(0.790000021, 1.96000004, 0.0900000334)
  802. o65.CFrame = CFrame.new(1.98767567, 2.98702312, 0.00151200127, 0.0118479971, -0.00884200633, -0.999890625, 4.27999534E-4, 0.999960899, -0.00883754436, 0.999929786, -3.23246233E-4, 0.0118513163)
  803. o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
  804. o65.Position = Vector3.new(1.98767567, 2.98702312, 0.00151200127)
  805. o65.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
  806. o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
  807. o66.Name = "Joint"
  808. o66.Parent = o65
  809. o66.C0 = CFrame.new(-0.0176414885, -0.0198159218, 0.487568855, 2.49221921E-6, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284E-5)
  810. o66.Part0 = o65
  811. o66.Part1 = o20
  812. o67.Name = "part"
  813. o67.Parent = o1
  814. o67.Material = Enum.Material.SmoothPlastic
  815. o67.BrickColor = BrickColor.new("Really black")
  816. o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047)
  817. o67.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
  818. o67.CanCollide = false
  819. o67.Locked = true
  820. o67.FormFactor = Enum.FormFactor.Symmetric
  821. o67.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
  822. o67.CFrame = CFrame.new(2.01194096, 2.95732999, 0.291371047, 0.0118479971, -0.00884200633, -0.999890625, 4.27999534E-4, 0.999960899, -0.00883754436, 0.999929786, -3.23246233E-4, 0.0118513163)
  823. o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  824. o67.Position = Vector3.new(2.01194096, 2.95732999, 0.291371047)
  825. o67.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
  826. o67.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  827. o68.Name = "Joint"
  828. o68.Parent = o67
  829. o68.C0 = CFrame.new(-0.307754934, 0.010184288, 0.50813365, 2.49221921E-6, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284E-5)
  830. o68.Part0 = o67
  831. o68.Part1 = o20
  832. o69.Name = "part"
  833. o69.Parent = o1
  834. o69.Material = Enum.Material.SmoothPlastic
  835. o69.BrickColor = BrickColor.new("Really black")
  836. o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072)
  837. o69.Rotation = Vector3.new(36.7099991, -89.1500015, 36.7299995)
  838. o69.CanCollide = false
  839. o69.Locked = true
  840. o69.FormFactor = Enum.FormFactor.Symmetric
  841. o69.Size = Vector3.new(0.420000017, 2.01999998, 0.0900000334)
  842. o69.CFrame = CFrame.new(2.00516462, 2.95708489, -0.280838072, 0.0118479971, -0.00884200633, -0.999890625, 4.27999534E-4, 0.999960899, -0.00883754436, 0.999929786, -3.23246233E-4, 0.0118513163)
  843. o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  844. o69.Position = Vector3.new(2.00516462, 2.95708489, -0.280838072)
  845. o69.Orientation = Vector3.new(0.50999999, -89.3199997, 0.0199999996)
  846. o69.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  847. o70.Name = "Joint"
  848. o70.Parent = o69
  849. o70.C0 = CFrame.new(0.2644943, 0.0101845264, 0.508137465, 2.49221921E-6, 0.00926474296, 0.999957144, -0.00840999372, 0.999921739, -0.00926439464, -0.999964595, -0.00840960443, 8.04085284E-5)
  850. o70.Part0 = o69
  851. o70.Part1 = o20
  852. mas.Parent = workspace
  853. mas:MakeJoints()
  854. local mas1 = mas:GetChildren()
  855. for i = 1, #mas1 do
  856. mas1[i].Parent = workspace
  857. ypcall(function()
  858. mas1[i]:MakeJoints()
  859. end)
  860. end
  861. mas:Destroy()
  862. for i = 1, #cors do
  863. coroutine.resume(cors[i])
  864. end
  865. wait()
  866. Workspace.Model.Parent = game.Players.LocalPlayer.Character
  867. wz = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"])
  868. wz.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  869. wz.Part1 = o20
  870. wz.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  871. for i, v in pairs(game.Players.LocalPlayer.Character.Model:GetChildren()) do
  872. if v.ClassName == "Accessory" then
  873. v = v:FindFirstChildOfClass("Part")
  874. end
  875. v.Anchored = false
  876. v.CanCollide = false
  877. end
  878. Effects = {}
  879. local Player = game.Players.localPlayer
  880. local Character = Player.Character
  881. local Humanoid = Character.Humanoid
  882. z = Instance.new("Sound", Character.Head)
  883. z.SoundId = "rbxassetid://170008284"
  884. z.Looped = true
  885. z.Pitch = 1
  886. z.Volume = 1.3
  887. wait(0.1)
  888. z:Play()
  889. local p = game.Players.LocalPlayer
  890. local mouse = p:GetMouse()
  891. local char = p.Character
  892. local Head = char.Head
  893. local junk = Instance.new("Model")
  894. junk.Parent = char
  895. junk.Name = "junk"
  896. local weldBetween = function(a, b)
  897. local weld = Instance.new("Weld", a)
  898. weld.Part0 = a
  899. weld.Part1 = b
  900. weld.C0 = a.CFrame:inverse() * b.CFrame
  901. return weld
  902. end
  903. Head.face.Texture = "rbxasset://textures/face.png"
  904. local eye1 = Instance.new("Part", junk)
  905. eye1.Position = Head.Position
  906. eye1.Transparency = 0
  907. eye1.Size = Vector3.new(0.13, 0.32, 0.38)
  908. eye1.BrickColor = BrickColor.new("Really black")
  909. eye1.Material = "Neon"
  910. local eye1m = Instance.new("SpecialMesh", eye1)
  911. eye1m.MeshType = "Sphere"
  912. eye1m.Offset = Vector3.new(0.23, 0.21, -0.45)
  913. local eye2 = Instance.new("Part", junk)
  914. eye2.Position = Head.Position
  915. eye2.Transparency = 0
  916. eye2.Size = eye1.Size
  917. eye2.BrickColor = BrickColor.new("Really black")
  918. eye2.Material = "Neon"
  919. local eye2m = Instance.new("SpecialMesh", eye2)
  920. eye2m.MeshType = "Sphere"
  921. eye2m.Offset = Vector3.new(-0.23, 0.21, -0.45)
  922. local eyething2 = weldBetween(Head, eye2)
  923. local eyething1 = weldBetween(Head, eye1)
  924. local plr = game.Players.LocalPlayer.Character.Humanoid
  925. plr.MaxHealth = math.huge
  926. wait(1)
  927. plr.Health = math.huge
  928. wait(math.randomseed(tick()))
  929. local plr = game.Players.LocalPlayer
  930. ch = plr.Character
  931. local tor = ch.Torso
  932. local head = ch.Head
  933. local ra = ch["Right Arm"]
  934. local la = ch["Left Arm"]
  935. local rl = ch["Right Leg"]
  936. local ll = ch["Left Leg"]
  937. local rj = ch.HumanoidRootPart.RootJoint
  938. local neck = tor.Neck
  939. local rm = Instance.new("Weld", tor)
  940. rm.C1 = CFrame.new(0, 0.5, 0)
  941. rm.C0 = CFrame.new(1.5, 0.5, 0)
  942. rm.Part0 = tor
  943. rm.Part1 = ra
  944. local lm = Instance.new("Weld", tor)
  945. lm.C1 = CFrame.new(0, 0.5, 0)
  946. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  947. lm.Part0 = tor
  948. lm.Part1 = la
  949. local rlm = Instance.new("Weld", tor)
  950. rlm.C1 = CFrame.new(0, 1, 0)
  951. rlm.C0 = CFrame.new(0.5, -1, 0)
  952. rlm.Part0 = tor
  953. rlm.Part1 = rl
  954. local llm = Instance.new("Weld", tor)
  955. llm.C1 = CFrame.new(0, 1, 0)
  956. llm.C0 = CFrame.new(-0.5, -1, 0)
  957. llm.Part0 = tor
  958. llm.Part1 = ll
  959. local hum = ch.Humanoid
  960. for i, v in pairs(head:GetChildren()) do
  961. if v.ClassName == "Sound" then
  962. v:Destroy()
  963. end
  964. end
  965. rj.C0 = CFrame.new()
  966. rj.C1 = CFrame.new()
  967. tor["Right Shoulder"]:Destroy()
  968. tor["Left Shoulder"]:Destroy()
  969. tor["Right Hip"]:Destroy()
  970. tor["Left Hip"]:Destroy()
  971. neck.C0 = CFrame.new(0, 1, 0)
  972. neck.C1 = CFrame.new(0, -0.5, 0)
  973. rmC0 = rm.C0
  974. rmC1 = rm.C1
  975. lmC0 = lm.C0
  976. lmC1 = lm.C1
  977. nC0 = neck.C0
  978. nC1 = neck.C1
  979. rjC0 = rj.C0
  980. rjC1 = rj.C1
  981. rlmC0 = rlm.C0
  982. rlmC1 = rlm.C1
  983. llmC0 = llm.C0
  984. llmC1 = llm.C1
  985. local defWS = 25
  986. local defJP = 120
  987. hum.WalkSpeed = defWS
  988. hum.JumpPower = defJP
  989. ch:WaitForChild("Animate"):Destroy()
  990. hum:WaitForChild("Animator"):Destroy()
  991. local mouse = plr:GetMouse()
  992. local cam = workspace.CurrentCamera
  993. for i, v in pairs(ch:GetChildren()) do
  994. if v:IsA("Part") then
  995. v.CanCollide = false
  996. end
  997. end
  998. function findHumanoid(character)
  999. for i, v in pairs(character:GetChildren()) do
  1000. if v.ClassName == "Humanoid" then
  1001. return v
  1002. end
  1003. end
  1004. end
  1005. function isHumanoid(character)
  1006. for i, v in pairs(character:GetChildren()) do
  1007. if v.ClassName == "Humanoid" then
  1008. return true
  1009. end
  1010. end
  1011. end
  1012. local bodyColor = BrickColor.new("White")
  1013. local bc = ch:WaitForChild("Body Colors")
  1014. bc.HeadColor = bodyColor
  1015. bc.LeftArmColor = bodyColor
  1016. bc.LeftLegColor = bodyColor
  1017. bc.RightArmColor = bodyColor
  1018. bc.RightLegColor = bodyColor
  1019. bc.TorsoColor = bodyColor
  1020. head:WaitForChild("face"):Destroy()
  1021. for i, v in pairs(head:GetChildren()) do
  1022. if v.ClassName == "Sound" then
  1023. v:Destroy()
  1024. end
  1025. end
  1026. function swait(num)
  1027. if num == 0 or num == nil then
  1028. game:service("RunService").RenderStepped:wait()
  1029. else
  1030. for i = 0, num do
  1031. game:service("RunService").RenderStepped:wait()
  1032. end
  1033. end
  1034. end
  1035. function doBrick(parent, pos, cf, size, colour, material, transparency, a, cc, bs, bts, fs, ls, rs, ts)
  1036. local p = Instance.new("Part", parent)
  1037. p.BrickColor = colour
  1038. p.Material = material
  1039. p.Transparency = transparency
  1040. p.Anchored = a
  1041. p.CanCollide = cc
  1042. p.FormFactor = "Custom"
  1043. p.Size = size
  1044. p.BackSurface = bs
  1045. p.BottomSurface = bts
  1046. p.FrontSurface = fs
  1047. p.LeftSurface = ls
  1048. p.RightSurface = rs
  1049. p.TopSurface = ts
  1050. p.Position = pos
  1051. p.CFrame = p.CFrame * cf
  1052. return p
  1053. end
  1054. function doMesh(parent, meshType, meshId, scale)
  1055. local m = Instance.new("SpecialMesh", parent)
  1056. m.MeshType = meshType
  1057. m.MeshId = meshId
  1058. m.Scale = scale
  1059. return m
  1060. end
  1061. local hm = Instance.new("Model", ch)
  1062. hm.Name = "HelmetModel"
  1063. local hat = doBrick(hm, Vector3.new(0, 0, 0), head.CFrame * CFrame.new(0, 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10)
  1064. local hoodMesh = doMesh(hat, "FileMesh", "http://www.roblox.com/asset/?id=6552202", Vector3.new(3, 3, 3))
  1065. local grabPart = Instance.new("Part", ch)
  1066. grabPart.Anchored = false
  1067. grabPart.CanCollide = false
  1068. grabPart.Size = Vector3.new(1, 1, 1)
  1069. grabPart.Transparency = 1
  1070. grabPart.Name = "GrabPart"
  1071. local mainGui
  1072. function displayGrabOptions()
  1073. local mainGui = Instance.new("ScreenGui", plr.Substs)
  1074. mainGui.Name = "OptionsGui"
  1075. local grabOption1 = Instance.new("TextLabel", mainGui)
  1076. grabOption1.BackgroundTransparency = 0.25
  1077. grabOption1.BackgroundColor3 = Color3.new(255, 255, 255)
  1078. grabOption1.BorderSizePixel = 0
  1079. grabOption1.Size = UDim2.new(0, 125, 0, 40)
  1080. grabOption1.Position = UDim2.new(0, -124, 0.5, 40)
  1081. grabOption1.Text = "F - Release"
  1082. grabOption1.Font = Enum.Font.SourceSansLight
  1083. grabOption1.FontSize = Enum.FontSize.Size24
  1084. grabOption1.TextColor3 = Color3.new(255, 255, 255)
  1085. grabOption1.TextStrokeTransparency = 0
  1086. grabOption1:TweenPosition(UDim2.new(0, 0, 0.5, 40), "Out", "Bounce", 0.5, false, nil)
  1087. local grabOption2 = Instance.new("TextLabel", mainGui)
  1088. grabOption2.BackgroundTransparency = 0.25
  1089. grabOption2.BackgroundColor3 = Color3.new(255, 255, 255)
  1090. grabOption2.BorderSizePixel = 0
  1091. grabOption2.Size = UDim2.new(0, 125, 0, 40)
  1092. grabOption2.Position = UDim2.new(0, -124, 0.5, 81)
  1093. grabOption2.Text = "E - Soul Punch"
  1094. grabOption2.Font = Enum.Font.SourceSansLight
  1095. grabOption2.FontSize = Enum.FontSize.Size24
  1096. grabOption2.TextColor3 = Color3.new(255, 255, 255)
  1097. grabOption2.TextStrokeTransparency = 0
  1098. grabOption2:TweenPosition(UDim2.new(0, 0, 0.5, 81), "Out", "Bounce", 0.6, false, nil)
  1099. local grabOption3 = Instance.new("TextLabel", mainGui)
  1100. grabOption3.BackgroundTransparency = 0.25
  1101. grabOption3.BackgroundColor3 = Color3.new(255, 255, 255)
  1102. grabOption3.BorderSizePixel = 0
  1103. grabOption3.Size = UDim2.new(0, 125, 0, 40)
  1104. grabOption3.Position = UDim2.new(0, -124, 0.5, 122)
  1105. grabOption3.Text = "R - Soul Tear"
  1106. grabOption3.Font = Enum.Font.SourceSansLight
  1107. grabOption3.FontSize = Enum.FontSize.Size24
  1108. grabOption3.TextColor3 = Color3.new(255, 255, 255)
  1109. grabOption3.TextStrokeTransparency = 0
  1110. grabOption3:TweenPosition(UDim2.new(0, 0, 0.5, 122), "Out", "Bounce", 0.7, false, nil)
  1111. end
  1112. function hideGrabOptions()
  1113. if plr.Substs:findFirstChild("OptionsGui", true) ~= nil then
  1114. plr.Substs.OptionsGui:Destroy()
  1115. end
  1116. end
  1117. for i, v in pairs(hm:GetChildren()) do
  1118. if v:IsA("BasePart") then
  1119. local w = Instance.new("Weld", hm)
  1120. w.Part0 = head
  1121. w.Part1 = v
  1122. w.C0 = head.CFrame:inverse()
  1123. w.C1 = v.CFrame:inverse()
  1124. v.Anchored = false
  1125. end
  1126. end
  1127. function poseJointC0(joint, JB, cf, speed)
  1128. joint.C0 = joint.C0:lerp(JB * cf, speed)
  1129. end
  1130. function poseJointC1(joint, JB, cf, speed)
  1131. joint.C1 = joint.C1:lerp(JB * cf, speed)
  1132. end
  1133. local RLattacking = false
  1134. local grabbing = false
  1135. local grabbingMode = false
  1136. local grabbedCharacter, grabWeld
  1137. local dmgDebounce = false
  1138. local speed = 1
  1139. function sound(id, vol, pitch, parent)
  1140. local s = Instance.new("Sound", parent)
  1141. s.SoundId = "http://www.roblox.com/asset/?id=" .. id .. ""
  1142. s.Volume = vol
  1143. s.Pitch = pitch
  1144. game.Debris:AddItem(s, 10)
  1145. s:play()
  1146. return s
  1147. end
  1148. local EP = Instance.new("Model", ch)
  1149. EP.Name = "ExtraParts"
  1150. local souls = 0
  1151. local soulPower = 0
  1152. local soulGui = Instance.new("BillboardGui", head)
  1153. soulGui.Adornee = head
  1154. soulGui.AlwaysOnTop = true
  1155. soulGui.Size = UDim2.new(10, 0, 10, 0)
  1156. soulGui.ExtentsOffset = Vector3.new(0, 1.5, 0)
  1157. local soulimg = Instance.new("ImageLabel", soulGui)
  1158. soulimg.BackgroundTransparency = 1
  1159. soulimg.Position = UDim2.new(0.1, 0, 0, 0)
  1160. soulimg.Size = UDim2.new(0.8, 0, 0.8, 0)
  1161. local soulText = Instance.new("TextLabel", soulimg)
  1162. soulText.BackgroundTransparency = 1
  1163. soulText.Position = UDim2.new(0, 0, 0.5, 0)
  1164. soulText.Size = UDim2.new(1, 0, 0.1, 0)
  1165. soulText.Font = "ArialBold"
  1166. soulText.FontSize = "Size14"
  1167. soulText.Text = ""
  1168. soulText.TextColor3 = Color3.new(255, 255, 255)
  1169. soulText.TextScaled = true
  1170. soulText.TextStrokeColor3 = Color3.new(255, 255, 255)
  1171. soulText.TextStrokeTransparency = 0
  1172. soulText.TextWrapped = true
  1173. function magicBrick(pos, cf, size, colour, material, transparency, a, cc, bs, bts, fs, ls, rs, ts, meshType, meshId, scale, scaleAdd, loop, loopTransparency, repeatloop, repeatLoopWait, loopCFrame)
  1174. local cw1 = coroutine.wrap(function()
  1175. for i = 1, repeatloop do
  1176. do
  1177. local x = doBrick(EP, pos, cf, size, colour, material, transparency, a, cc, bs, bts, fs, ls, rs, ts)
  1178. local z = doMesh(x, meshType, meshId, scale)
  1179. local cw2 = coroutine.wrap(function()
  1180. for i = 1, loop do
  1181. if loopTransparency then
  1182. x.Transparency = i / loop
  1183. z.Scale = z.Scale + scaleAdd
  1184. x.CFrame = x.CFrame * loopCFrame
  1185. wait()
  1186. else
  1187. z.Scale = z.Scale + scaleAdd
  1188. x.CFrame = x.CFrame * loopCFrame
  1189. end
  1190. end
  1191. x:Destroy()
  1192. end)
  1193. cw2()
  1194. swait(repeatLoopWait)
  1195. end
  1196. end
  1197. end)
  1198. cw1()
  1199. end
  1200. local currentAnim = ""
  1201. local speed = 0
  1202. local doingMove = false
  1203. local attacking = false
  1204. function anim(x)
  1205. if not doingMove then
  1206. if x == "jump" then
  1207. if currentAnim == x then
  1208. return
  1209. end
  1210. currentAnim = x
  1211. speed = 0.45
  1212. print(x)
  1213. for i = 0, 0.8, 0.1 * speed do
  1214. if currentAnim ~= x then
  1215. break
  1216. end
  1217. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(-13), math.rad(0), math.rad(0)), i * speed)
  1218. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-13), math.rad(0), math.rad(0)), i * speed)
  1219. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), i * speed)
  1220. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), i * speed)
  1221. poseJointC0(neck, nC0, CFrame.Angles(math.rad(8), math.rad(0), math.rad(0)), i * speed)
  1222. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), i * speed)
  1223. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1224. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1225. poseJointC1(rlm, rlmC1, CFrame.new(0.05, -0.35, 0.35), i * speed)
  1226. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1227. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1228. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1229. swait()
  1230. end
  1231. currentAnim = nil
  1232. end
  1233. if x == "descend" then
  1234. if currentAnim == x then
  1235. return
  1236. end
  1237. currentAnim = x
  1238. speed = 0.45
  1239. print(x)
  1240. for i = 0, 0.67, 0.1 * speed do
  1241. if currentAnim ~= x then
  1242. break
  1243. end
  1244. if grabbingMode then
  1245. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(87)), i * speed)
  1246. end
  1247. if not grabbingMode then
  1248. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(-13), math.rad(0), math.rad(0)), i * speed)
  1249. end
  1250. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-13), math.rad(0), math.rad(0)), i * speed)
  1251. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), i * speed)
  1252. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), i * speed)
  1253. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-24), math.rad(0), math.rad(0)), i * speed)
  1254. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(24), math.rad(0), math.rad(0)), i * speed)
  1255. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1256. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1257. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1258. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1259. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1260. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1261. swait()
  1262. end
  1263. currentAnim = nil
  1264. end
  1265. if x == "walk" then
  1266. if currentAnim == x then
  1267. return
  1268. end
  1269. currentAnim = x
  1270. speed = 0.35
  1271. print(x)
  1272. while true do
  1273. if currentAnim ~= x then
  1274. break
  1275. end
  1276. for i = 0, 0.8, 0.1 * speed do
  1277. if currentAnim ~= x then
  1278. break
  1279. end
  1280. if grabbingMode then
  1281. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(135), math.rad(0), math.rad(25)), i * speed)
  1282. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-5)), i * speed)
  1283. end
  1284. if not grabbingMode then
  1285. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(-25)), i * speed)
  1286. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(25)), i * speed)
  1287. end
  1288. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), i * speed)
  1289. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)), i * speed)
  1290. poseJointC0(neck, nC0, CFrame.Angles(math.rad(5), math.rad(12), math.rad(0)), i * speed)
  1291. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-14), math.rad(-12), math.rad(-10)), i * speed)
  1292. if grabbingMode then
  1293. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1294. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1295. end
  1296. if not grabbingMode then
  1297. poseJointC1(rm, rmC1, CFrame.new(0, 0.45, 0), i * speed)
  1298. poseJointC1(lm, lmC1, CFrame.new(0, 0.45, 0), i * speed)
  1299. end
  1300. poseJointC1(rlm, rlmC1, CFrame.new(0.05, 0, 0), i * speed)
  1301. poseJointC1(llm, llmC1, CFrame.new(-0.05, 0, 0), i * speed)
  1302. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1303. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1304. swait()
  1305. end
  1306. for i = 0, 0.34, 0.1 * speed do
  1307. if currentAnim ~= x then
  1308. break
  1309. end
  1310. if grabbingMode then
  1311. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(135), math.rad(0), math.rad(25)), i * speed)
  1312. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-5)), i * speed)
  1313. end
  1314. if not grabbingMode then
  1315. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(-25)), i * speed)
  1316. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(25)), i * speed)
  1317. end
  1318. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), i * speed)
  1319. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), i * speed)
  1320. poseJointC0(neck, nC0, CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), i * speed)
  1321. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-15), math.rad(0), math.rad(0)), i * speed)
  1322. if grabbingMode then
  1323. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1324. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1325. end
  1326. if not grabbingMode then
  1327. poseJointC1(rm, rmC1, CFrame.new(0, 0.45, 0), i * speed)
  1328. poseJointC1(lm, lmC1, CFrame.new(0, 0.45, 0), i * speed)
  1329. end
  1330. poseJointC1(rlm, rlmC1, CFrame.new(0.05, -0.75, 0.7), i * speed)
  1331. poseJointC1(llm, llmC1, CFrame.new(-0.05, 0, 0), i * speed)
  1332. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1333. poseJointC1(rj, rjC1, CFrame.new(0, 0.3, 0), i * speed)
  1334. swait()
  1335. end
  1336. for i = 0, 0.8, 0.1 * speed do
  1337. if currentAnim ~= x then
  1338. break
  1339. end
  1340. if grabbingMode then
  1341. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(135), math.rad(0), math.rad(25)), i * speed)
  1342. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-5)), i * speed)
  1343. end
  1344. if not grabbingMode then
  1345. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(-25)), i * speed)
  1346. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(25)), i * speed)
  1347. end
  1348. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(55), math.rad(0), math.rad(0)), i * speed)
  1349. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), i * speed)
  1350. poseJointC0(neck, nC0, CFrame.Angles(math.rad(5), math.rad(-12), math.rad(0)), i * speed)
  1351. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-14), math.rad(12), math.rad(10)), i * speed)
  1352. if grabbingMode then
  1353. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1354. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1355. end
  1356. if not grabbingMode then
  1357. poseJointC1(rm, rmC1, CFrame.new(0, 0.45, 0), i * speed)
  1358. poseJointC1(lm, lmC1, CFrame.new(0, 0.45, 0), i * speed)
  1359. end
  1360. poseJointC1(rlm, rlmC1, CFrame.new(0.05, 0, 0), i * speed)
  1361. poseJointC1(llm, llmC1, CFrame.new(-0.05, 0, 0), i * speed)
  1362. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1363. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1364. swait()
  1365. end
  1366. for i = 0, 0.34, 0.1 * speed do
  1367. if currentAnim ~= x then
  1368. break
  1369. end
  1370. if grabbingMode then
  1371. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(135), math.rad(0), math.rad(25)), i * speed)
  1372. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(-5)), i * speed)
  1373. end
  1374. if not grabbingMode then
  1375. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(-25)), i * speed)
  1376. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(25)), i * speed)
  1377. end
  1378. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), i * speed)
  1379. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-25), math.rad(0), math.rad(0)), i * speed)
  1380. poseJointC0(neck, nC0, CFrame.Angles(math.rad(5), math.rad(0), math.rad(0)), i * speed)
  1381. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-14), math.rad(0), math.rad(0)), i * speed)
  1382. if grabbingMode then
  1383. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1384. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1385. end
  1386. if not grabbingMode then
  1387. poseJointC1(rm, rmC1, CFrame.new(0, 0.45, 0), i * speed)
  1388. poseJointC1(lm, lmC1, CFrame.new(0, 0.45, 0), i * speed)
  1389. end
  1390. poseJointC1(rlm, rlmC1, CFrame.new(0.05, 0, 0), i * speed)
  1391. poseJointC1(llm, llmC1, CFrame.new(-0.05, -0.75, 0.7), i * speed)
  1392. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1393. poseJointC1(rj, rjC1, CFrame.new(0, 0.3, 0), i * speed)
  1394. swait()
  1395. end
  1396. end
  1397. end
  1398. if x == "idle" then
  1399. if currentAnim == x then
  1400. return
  1401. end
  1402. currentAnim = x
  1403. speed = 0.24
  1404. print(x)
  1405. for i = 0, 0.45, 0.1 * speed do
  1406. if currentAnim ~= x then
  1407. break
  1408. end
  1409. if grabbingMode then
  1410. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(145), math.rad(0), math.rad(45)), speed)
  1411. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(-12)), speed)
  1412. end
  1413. if not grabbingMode then
  1414. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(100), math.rad(0), math.rad(45)), speed)
  1415. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(45)), speed)
  1416. end
  1417. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(12)), speed)
  1418. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23), math.rad(0), math.rad(-6)), speed)
  1419. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-4), math.rad(-45), math.rad(0)), speed)
  1420. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-12), math.rad(45), math.rad(0)), speed)
  1421. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), speed)
  1422. if grabbingMode then
  1423. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), speed)
  1424. end
  1425. if not grabbingMode then
  1426. poseJointC1(lm, lmC1, CFrame.new(0, 0.75, 0), speed)
  1427. end
  1428. poseJointC1(rlm, rlmC1, CFrame.new(0.05, -0.45, 0.45), speed)
  1429. poseJointC1(llm, llmC1, CFrame.new(-0.05, -0.45, 0.35), speed)
  1430. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), speed)
  1431. poseJointC1(rj, rjC1, CFrame.new(0, 0.45, 0), speed)
  1432. swait()
  1433. end
  1434. while true do
  1435. if currentAnim ~= x then
  1436. break
  1437. end
  1438. for i = 0, 0.75, 0.1 * speed do
  1439. if currentAnim ~= x then
  1440. break
  1441. end
  1442. if grabbingMode then
  1443. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(145), math.rad(0), math.rad(45)), i * speed)
  1444. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(-12)), i * speed)
  1445. end
  1446. if not grabbingMode then
  1447. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(112), math.rad(0), math.rad(45)), i * speed)
  1448. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(45)), i * speed)
  1449. end
  1450. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(12)), i * speed)
  1451. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-24), math.rad(0), math.rad(-6)), i * speed)
  1452. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-4), math.rad(-45), math.rad(0)), i * speed)
  1453. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-12), math.rad(45), math.rad(0)), i * speed)
  1454. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1455. if grabbingMode then
  1456. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1457. end
  1458. if not grabbingMode then
  1459. poseJointC1(lm, lmC1, CFrame.new(0, 0.75, 0), i * speed)
  1460. end
  1461. poseJointC1(rlm, rlmC1, CFrame.new(0.05, -0.45, 0.45), i * speed)
  1462. poseJointC1(llm, llmC1, CFrame.new(-0.05, -0.55, 0.35), i * speed)
  1463. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1464. poseJointC1(rj, rjC1, CFrame.new(0, 0.55, 0), i * speed)
  1465. swait()
  1466. end
  1467. for i = 0, 0.75, 0.1 * speed do
  1468. if currentAnim ~= x then
  1469. break
  1470. end
  1471. if grabbingMode then
  1472. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(145), math.rad(0), math.rad(45)), i * speed)
  1473. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(-12)), i * speed)
  1474. end
  1475. if not grabbingMode then
  1476. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(100), math.rad(0), math.rad(45)), i * speed)
  1477. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(99), math.rad(0), math.rad(45)), i * speed)
  1478. end
  1479. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(12), math.rad(0), math.rad(12)), i * speed)
  1480. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23), math.rad(0), math.rad(-6)), i * speed)
  1481. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-4), math.rad(-45), math.rad(0)), i * speed)
  1482. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-12), math.rad(45), math.rad(0)), i * speed)
  1483. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1484. if grabbingMode then
  1485. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1486. end
  1487. if not grabbingMode then
  1488. poseJointC1(lm, lmC1, CFrame.new(0, 0.75, 0), i * speed)
  1489. end
  1490. poseJointC1(rlm, rlmC1, CFrame.new(0.05, -0.45, 0.45), i * speed)
  1491. poseJointC1(llm, llmC1, CFrame.new(-0.05, -0.45, 0.35), i * speed)
  1492. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1493. poseJointC1(rj, rjC1, CFrame.new(0, 0.45, 0), i * speed)
  1494. swait()
  1495. end
  1496. end
  1497. end
  1498. end
  1499. if doingMove then
  1500. if x == "spar1" then
  1501. if currentAnim == x then
  1502. return
  1503. end
  1504. currentAnim = x
  1505. speed = 0.75
  1506. print(x)
  1507. for i = 0, 0.5, 0.1 * speed do
  1508. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(75), math.rad(0), math.rad(-45)), i * speed)
  1509. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)), i * speed)
  1510. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45)), i * speed)
  1511. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-12)), i * speed)
  1512. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), i * speed)
  1513. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(90), math.rad(12)), i * speed)
  1514. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1515. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1516. poseJointC1(rlm, rlmC1, CFrame.new(0, -0.2, 0), i * speed)
  1517. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1518. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1519. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1520. swait()
  1521. end
  1522. attacking = true
  1523. RLattacking = true
  1524. sound(233856146, 1, 1, rl)
  1525. for i = 0, 1, 0.1 * speed do
  1526. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(80), math.rad(0), math.rad(-45)), i * speed)
  1527. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)), i * speed)
  1528. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(106.5)), i * speed)
  1529. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-45)), i * speed)
  1530. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), i * speed)
  1531. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(90), math.rad(45)), i * speed)
  1532. poseJointC1(rm, rmC1, CFrame.new(0, 0.5, 0), i * speed)
  1533. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1534. poseJointC1(rlm, rlmC1, CFrame.new(0, 0.2, 0), i * speed)
  1535. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1536. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1537. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1538. swait()
  1539. end
  1540. attacking = false
  1541. RLattacking = false
  1542. currentAnim = nil
  1543. end
  1544. if x == "spar2" then
  1545. if currentAnim == x then
  1546. return
  1547. end
  1548. currentAnim = x
  1549. speed = 0.75
  1550. print(x)
  1551. for i = 0, 0.5, 0.1 * speed do
  1552. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(-45)), i * speed)
  1553. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)), i * speed)
  1554. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45)), i * speed)
  1555. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), i * speed)
  1556. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), i * speed)
  1557. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(5), math.rad(-25), math.rad(0)), i * speed)
  1558. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1559. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1560. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1561. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1562. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1563. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1564. swait()
  1565. end
  1566. attacking = true
  1567. RLattacking = true
  1568. sound(233856146, 1, 0.85, rl)
  1569. for i = 0, 1, 0.1 * speed do
  1570. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45)), i * speed)
  1571. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-45)), i * speed)
  1572. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(0)), i * speed)
  1573. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), i * speed)
  1574. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-23), math.rad(0), math.rad(0)), i * speed)
  1575. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(23), math.rad(0), math.rad(0)), i * speed)
  1576. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1577. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1578. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1579. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1580. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1581. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1582. swait()
  1583. end
  1584. attacking = false
  1585. RLattacking = false
  1586. currentAnim = nil
  1587. end
  1588. if x == "grab" then
  1589. if currentAnim == x then
  1590. return
  1591. end
  1592. currentAnim = x
  1593. speed = 0.75
  1594. print(x)
  1595. for i = 0, 0.5, 0.1 * speed do
  1596. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(5)), i * speed)
  1597. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1598. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1599. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1600. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1601. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), i * speed)
  1602. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1603. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1604. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1605. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1606. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1607. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1608. swait()
  1609. end
  1610. attacking = true
  1611. grabbing = true
  1612. sound(233856146, 1, 0.95, rl)
  1613. for i = 0, 1, 0.1 * speed do
  1614. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(125), math.rad(0), math.rad(-25)), i * speed)
  1615. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), i * speed)
  1616. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1617. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1618. poseJointC0(neck, nC0, CFrame.Angles(math.rad(13), math.rad(-35), math.rad(0)), i * speed)
  1619. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1620. poseJointC1(rm, rmC1, CFrame.new(0, 1, 0), i * speed)
  1621. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1622. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1623. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1624. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1625. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1626. swait()
  1627. end
  1628. attacking = false
  1629. grabbing = false
  1630. currentAnim = nil
  1631. end
  1632. if x == "release" then
  1633. if currentAnim == x then
  1634. return
  1635. end
  1636. currentAnim = x
  1637. speed = 0.75
  1638. print(x)
  1639. for i = 0, 0.5, 0.1 * speed do
  1640. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(5)), i * speed)
  1641. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1642. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1643. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1644. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1645. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), i * speed)
  1646. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1647. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1648. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1649. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1650. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1651. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1652. swait()
  1653. end
  1654. sound(233856146, 1, 0.95, rl)
  1655. if grabWeld ~= nil then
  1656. grabWeld:Destroy()
  1657. end
  1658. local bv = Instance.new("BodyVelocity", grabbedCharacter:WaitForChild("Torso"))
  1659. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1660. bv.velocity = head.CFrame.lookVector * 50 + Vector3.new(0, 15, 0)
  1661. game.Debris:AddItem(bv, 0.05)
  1662. grabbedCharacter.Humanoid.WalkSpeed = 16
  1663. grabbedCharacter.Humanoid.JumpPower = 50
  1664. for i = 0, 1, 0.1 * speed do
  1665. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(125), math.rad(0), math.rad(-25)), i * speed)
  1666. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), i * speed)
  1667. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1668. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1669. poseJointC0(neck, nC0, CFrame.Angles(math.rad(13), math.rad(-35), math.rad(0)), i * speed)
  1670. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1671. poseJointC1(rm, rmC1, CFrame.new(0, 1, 0), i * speed)
  1672. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1673. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1674. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1675. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1676. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1677. swait()
  1678. end
  1679. currentAnim = nil
  1680. grabbedCharacter = nil
  1681. end
  1682. if x == "grabPose" then
  1683. if currentAnim == x then
  1684. return
  1685. end
  1686. currentAnim = x
  1687. speed = 0.75
  1688. print(x)
  1689. for i = 0, 1, 0.1 * speed do
  1690. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(125), math.rad(0), math.rad(-25)), i * speed)
  1691. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), i * speed)
  1692. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1693. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1694. poseJointC0(neck, nC0, CFrame.Angles(math.rad(13), math.rad(-35), math.rad(0)), i * speed)
  1695. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1696. poseJointC1(rm, rmC1, CFrame.new(0, 1, 0), i * speed)
  1697. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1698. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1699. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1700. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1701. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1702. swait()
  1703. end
  1704. end
  1705. if x == "airAttack" then
  1706. if currentAnim == x then
  1707. return
  1708. end
  1709. currentAnim = x
  1710. speed = 0.75
  1711. print(x)
  1712. for i = 0, 0.5, 0.1 * speed do
  1713. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(5)), i * speed)
  1714. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1715. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1716. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1717. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1718. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), i * speed)
  1719. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1720. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1721. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1722. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1723. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1724. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1725. swait()
  1726. end
  1727. sound(233856146, 1, 0.95, rl)
  1728. if grabWeld ~= nil then
  1729. grabWeld:Destroy()
  1730. end
  1731. do
  1732. local bv = Instance.new("BodyVelocity", grabbedCharacter:WaitForChild("Torso"))
  1733. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1734. bv.velocity = head.CFrame.lookVector * 10 + Vector3.new(0, 30, 0)
  1735. game.Debris:AddItem(bv, 0.05)
  1736. local bf = Instance.new("BodyForce", grabbedCharacter:WaitForChild("Torso"))
  1737. bf.force = Vector3.new(0, 750, 0) * grabbedCharacter:WaitForChild("Torso"):GetMass()
  1738. game.Debris:AddItem(bf, 2.5)
  1739. grabbedCharacter.Humanoid.WalkSpeed = 16
  1740. grabbedCharacter.Humanoid.JumpPower = 50
  1741. for i = 0, 1, 0.1 * speed do
  1742. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(150), math.rad(0), math.rad(-25)), i * speed)
  1743. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), i * speed)
  1744. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1745. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1746. poseJointC0(neck, nC0, CFrame.Angles(math.rad(17.5), math.rad(-35), math.rad(0)), i * speed)
  1747. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1748. poseJointC1(rm, rmC1, CFrame.new(0, 1, 0), i * speed)
  1749. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1750. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1751. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1752. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1753. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1754. swait()
  1755. end
  1756. speed = 0.2
  1757. hum.WalkSpeed = 0
  1758. hum.JumpPower = 0
  1759. magicBrick(Vector3.new(0, 0, 0), tor.CFrame * CFrame.new(0, 0, 0), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=6552202", Vector3.new(1, 1, 1), Vector3.new(10, 10, 10), 5, true, 1, 0, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  1760. coroutine.resume(coroutine.create(function()
  1761. for i = 1, 100 do
  1762. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1763. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1764. swait(0.1)
  1765. end
  1766. end))
  1767. for i, v in pairs(grabbedCharacter:GetChildren()) do
  1768. if v:IsA("Part") then
  1769. v.CanCollide = false
  1770. end
  1771. if v.ClassName == "Hat" then
  1772. for i, v in pairs(v:GetChildren()) do
  1773. if v:IsA("BasePart") then
  1774. v.CanCollide = false
  1775. end
  1776. end
  1777. end
  1778. end
  1779. sound(215395388, 1, 0.87, head)
  1780. for i = 0, 1.25, 0.1 * speed do
  1781. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(12)), i * speed)
  1782. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(-12)), i * speed)
  1783. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), i * speed)
  1784. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23.5), math.rad(0), math.rad(0)), i * speed)
  1785. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(85), math.rad(0)), i * speed)
  1786. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), i * speed)
  1787. poseJointC1(rm, rmC1, CFrame.new(0, -0.65, 0), i * speed)
  1788. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1789. poseJointC1(rlm, rlmC1, CFrame.new(0, -0.45, 0.3), i * speed)
  1790. poseJointC1(llm, llmC1, CFrame.new(0, -0.45, 0.3), i * speed)
  1791. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1792. poseJointC1(rj, rjC1, CFrame.new(0, 0.45, 0), i * speed)
  1793. swait()
  1794. end
  1795. local bv = Instance.new("BodyVelocity", tor)
  1796. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1797. bv.velocity = head.CFrame.lookVector * 55 + Vector3.new(0, 60, 0)
  1798. game.Debris:AddItem(bv, 0.1)
  1799. for i = 0, 0.25, 0.1 * speed do
  1800. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(110), math.rad(0), math.rad(24)), speed)
  1801. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-24)), speed)
  1802. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), speed)
  1803. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23.5), math.rad(0), math.rad(0)), speed)
  1804. poseJointC0(neck, nC0, CFrame.Angles(math.rad(-12), math.rad(75), math.rad(0)), speed)
  1805. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-75), math.rad(-75), math.rad(0)), speed)
  1806. poseJointC1(rm, rmC1, CFrame.new(0, -0.45, 0), speed)
  1807. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), speed)
  1808. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), speed)
  1809. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), speed)
  1810. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), speed)
  1811. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), speed)
  1812. swait()
  1813. end
  1814. local didHit = false
  1815. coroutine.resume(coroutine.create(function()
  1816. if (grabbedCharacter:WaitForChild("Torso").Position - tor.Position).magnitude <= 10 and not dmgDebounce then
  1817. dmgDebounce = true
  1818. sound(227194094, 1, 0.8, ra)
  1819. sound(215395468, 2.5, 0.9, head)
  1820. coroutine.resume(coroutine.create(function()
  1821. for i = 1, 3 do
  1822. magicBrick(Vector3.new(0, 0, 0), head.CFrame * CFrame.Angles(math.rad(24), 0, 0) * CFrame.new(0, 0, -8 + i * 2), Vector3.new(1, 1, 1), BrickColor.new("Institutional white"), "SmoothPlastic", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(3, 3, 3), Vector3.new(2 + i, 2 + i, 0.5), 6, true, 1, 0, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  1823. end
  1824. end))
  1825. sound(206082327, 2.5, 1, grabbedCharacter:WaitForChild("Torso"))
  1826. grabbedCharacter.Humanoid:TakeDamage(grabbedCharacter.Humanoid.MaxHealth / 5 + grabbedCharacter.Humanoid.MaxHealth / 5 * soulPower / 100)
  1827. grabbedCharacter.Humanoid.PlatformStand = false
  1828. local bv = Instance.new("BodyVelocity", grabbedCharacter:WaitForChild("Torso"))
  1829. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1830. bv.velocity = head.CFrame.lookVector * 100 + Vector3.new(0, 0, 0)
  1831. souls = souls + 5
  1832. game.Debris:AddItem(bv, 0.05)
  1833. didHit = true
  1834. wait(0.5)
  1835. dmgDebounce = false
  1836. end
  1837. end))
  1838. for i = 0, 0.25, 0.1 * speed do
  1839. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(120), math.rad(0), math.rad(-24)), speed)
  1840. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(-24)), speed)
  1841. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), speed)
  1842. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23.5), math.rad(0), math.rad(0)), speed)
  1843. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), speed)
  1844. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(-35), math.rad(45), math.rad(0)), speed)
  1845. poseJointC1(rm, rmC1, CFrame.new(0, 0.35, 0), speed)
  1846. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), speed)
  1847. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), speed)
  1848. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), speed)
  1849. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), speed)
  1850. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), speed)
  1851. swait()
  1852. end
  1853. currentAnim = nil
  1854. grabbedCharacter = nil
  1855. end
  1856. end
  1857. if x == "soultear" then
  1858. if currentAnim == x then
  1859. return
  1860. end
  1861. currentAnim = x
  1862. speed = 0.75
  1863. print(x)
  1864. for i = 0, 0.5, 0.1 * speed do
  1865. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(45), math.rad(0), math.rad(5)), i * speed)
  1866. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1867. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), i * speed)
  1868. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), i * speed)
  1869. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(45), math.rad(0)), i * speed)
  1870. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-45), math.rad(0)), i * speed)
  1871. poseJointC1(rm, rmC1, CFrame.new(0, 0, 0), i * speed)
  1872. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), i * speed)
  1873. poseJointC1(rlm, rlmC1, CFrame.new(0, 0, 0), i * speed)
  1874. poseJointC1(llm, llmC1, CFrame.new(0, 0, 0), i * speed)
  1875. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), i * speed)
  1876. poseJointC1(rj, rjC1, CFrame.new(0, 0, 0), i * speed)
  1877. swait()
  1878. end
  1879. sound(233856146, 1, 0.95, rl)
  1880. if grabWeld ~= nil then
  1881. grabWeld:Destroy()
  1882. end
  1883. do
  1884. local bp = Instance.new("BodyPosition", grabbedCharacter:WaitForChild("Torso"))
  1885. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1886. bp.Position = tor.CFrame * CFrame.new(0, 0, -3).p
  1887. game.Debris:AddItem(bp, 0.5)
  1888. grabbedCharacter.Humanoid.WalkSpeed = 16
  1889. grabbedCharacter.Humanoid.JumpPower = 50
  1890. speed = 0.2
  1891. magicBrick(Vector3.new(0, 0, 0), tor.CFrame * CFrame.new(0, 0, 0), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=6552202", Vector3.new(1, 1, 1), Vector3.new(10, 10, 10), 5, true, 1, 0, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0))
  1892. coroutine.resume(coroutine.create(function()
  1893. for i = 1, 100 do
  1894. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1895. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1896. swait(0.1)
  1897. end
  1898. end))
  1899. sound(215395388, 1, 0.8, head)
  1900. for i = 0, 1.25, 0.1 * speed do
  1901. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(12)), speed)
  1902. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(90), math.rad(0), math.rad(-12)), speed)
  1903. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), speed)
  1904. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23.5), math.rad(0), math.rad(0)), speed)
  1905. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(85), math.rad(0)), speed)
  1906. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), speed)
  1907. poseJointC1(rm, rmC1, CFrame.new(0, -0.65, 0), speed)
  1908. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), speed)
  1909. poseJointC1(rlm, rlmC1, CFrame.new(0, -0.45, 0.3), speed)
  1910. poseJointC1(llm, llmC1, CFrame.new(0, -0.45, 0.3), speed)
  1911. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), speed)
  1912. poseJointC1(rj, rjC1, CFrame.new(0, 0.45, 0), speed)
  1913. swait()
  1914. end
  1915. speed = 0.25
  1916. local didHit = false
  1917. coroutine.resume(coroutine.create(function()
  1918. if (grabbedCharacter:WaitForChild("Torso").Position - tor.Position).magnitude <= 7.5 and not dmgDebounce then
  1919. dmgDebounce = true
  1920. sound(179515225, 1, 0.65, ra)
  1921. sound(610359515, 1, 0.85, ra)
  1922. grabbedCharacter.Humanoid:TakeDamage(grabbedCharacter.Humanoid.MaxHealth / 4 + grabbedCharacter.Humanoid.MaxHealth / 4 * soulPower / 100)
  1923. coroutine.resume(coroutine.create(function()
  1924. wait(0.085)
  1925. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(90), 0, 0), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "SmoothPlastic", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0.5, 0.5, 0.5), Vector3.new(5, 5, 0.01), 16, true, 1, 0, CFrame.Angles(0, 0, 0))
  1926. for i = 1, 8 do
  1927. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1928. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1929. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0.5, -2, 0) * CFrame.Angles(math.rad(90), 0, 0), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=10681506", Vector3.new(10, 10, 10), Vector3.new(0.3, 0.3, -0.3), 30, true, 1, 0, CFrame.new(0, 0, -i / 12) * CFrame.Angles(0, 0, 0))
  1930. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0.5, -2, 0) * CFrame.Angles(math.rad(90), 0, 0), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "FileMesh", "http://www.roblox.com/asset/?id=10681506", Vector3.new(5 + i / 2, 5 + i / 2, 5 + i / 2), Vector3.new(-0.3, 2 + i / 2, -0.3), 5, true, 1, 0, CFrame.new(math.random(-0.5, 0.5), math.random(-0.5, 0.5), math.random(-0.5, 0.5)) * CFrame.Angles(0, 0, 0))
  1931. magicBrick(Vector3.new(0, 0, 0), ra.CFrame * CFrame.new(0, 2, 0) * CFrame.new(math.random(1, 15), math.random(1, 2), math.random(1, 15)) * CFrame.new(-7.5, -1, -7.5), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(1, 1, 1), Vector3.new(-0.2, -0.2, -0.2), 30, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1932. wait(0.025)
  1933. end
  1934. end))
  1935. local bv = Instance.new("BodyVelocity", grabbedCharacter:WaitForChild("Torso"))
  1936. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1937. bv.velocity = head.CFrame.lookVector * 25 + Vector3.new(0, 70, 0)
  1938. game.Debris:AddItem(bv, 0.1)
  1939. souls = souls + 3
  1940. if grabbedCharacter ~= nil then
  1941. coroutine.resume(coroutine.create(function()
  1942. for i = 1, 100 do
  1943. if grabbedCharacter == nil then
  1944. break
  1945. end
  1946. magicBrick(Vector3.new(0, 0, 0), grabbedCharacter:WaitForChild("Torso").CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("Really black"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(2, 2, 2), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1947. magicBrick(Vector3.new(0, 0, 0), grabbedCharacter:WaitForChild("Torso").CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(1, 5), math.random(1, 5), math.random(1, 5)) * CFrame.new(-2.5, -2.5, -2.5), Vector3.new(1, 1, 1), BrickColor.new("White"), "Neon", 0, true, false, 10, 10, 10, 10, 10, 10, "Brick", "", Vector3.new(2, 2, 2), Vector3.new(-0.2, -0.2, -0.2), 15, true, 1, 0, CFrame.new(0, -1, 0) * CFrame.Angles(math.random(), math.random(), math.random()))
  1948. swait(0.1)
  1949. end
  1950. end))
  1951. end
  1952. didHit = true
  1953. wait(0.5)
  1954. dmgDebounce = false
  1955. end
  1956. end))
  1957. for i = 0, 0.9, 0.1 * speed do
  1958. poseJointC0(rm, rmC0, CFrame.Angles(math.rad(145), math.rad(0), math.rad(12)), speed)
  1959. poseJointC0(lm, lmC0, CFrame.Angles(math.rad(-35), math.rad(0), math.rad(-12)), speed)
  1960. poseJointC0(rlm, rlmC0, CFrame.Angles(math.rad(-45), math.rad(0), math.rad(5)), speed)
  1961. poseJointC0(llm, llmC0, CFrame.Angles(math.rad(-23.5), math.rad(0), math.rad(-5)), speed)
  1962. poseJointC0(neck, nC0, CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), speed)
  1963. poseJointC0(rj, rjC0, CFrame.Angles(math.rad(0), math.rad(85), math.rad(0)), speed)
  1964. poseJointC1(rm, rmC1, CFrame.new(0, 0.4, 0), speed)
  1965. poseJointC1(lm, lmC1, CFrame.new(0, 0, 0), speed)
  1966. poseJointC1(rlm, rlmC1, CFrame.new(0, -0.45, 0.3), speed)
  1967. poseJointC1(llm, llmC1, CFrame.new(0, -0.45, 0.3), speed)
  1968. poseJointC1(neck, nC1, CFrame.new(0, 0, 0), speed)
  1969. poseJointC1(rj, rjC1, CFrame.new(0, 0.45, 0), speed)
  1970. swait()
  1971. end
  1972. currentAnim = nil
  1973. grabbedCharacter = nil
  1974. end
  1975. end
  1976. end
  1977. end
  1978. function spar1()
  1979. if not doingMove then
  1980. doingMove = true
  1981. anim("spar1")
  1982. doingMove = false
  1983. end
  1984. end
  1985. function spar2()
  1986. if not doingMove then
  1987. doingMove = true
  1988. anim("spar2")
  1989. doingMove = false
  1990. end
  1991. end
  1992. function grab()
  1993. if not doingMove then
  1994. doingMove = true
  1995. hum.WalkSpeed = 0
  1996. anim("grab")
  1997. doingMove = false
  1998. end
  1999. end
  2000. function release()
  2001. if not doingMove then
  2002. doingMove = true
  2003. anim("release")
  2004. doingMove = false
  2005. end
  2006. end
  2007. function airAttack()
  2008. if not doingMove then
  2009. doingMove = true
  2010. anim("airAttack")
  2011. doingMove = false
  2012. end
  2013. end
  2014. function soulTear()
  2015. if not doingMove then
  2016. doingMove = true
  2017. anim("soultear")
  2018. doingMove = false
  2019. end
  2020. end
  2021. local currentSparAttack = 1
  2022. mouse.Button1Down:connect(function()
  2023. if grabbingMode then
  2024. return
  2025. end
  2026. if currentSparAttack == 1 then
  2027. currentSparAttack = 2
  2028. spar1()
  2029. elseif currentSparAttack == 2 then
  2030. currentSparAttack = 1
  2031. spar2()
  2032. end
  2033. end)
  2034. mouse.KeyDown:connect(function(k)
  2035. if k == "f" then
  2036. if not grabbingMode then
  2037. grab()
  2038. elseif grabbingMode then
  2039. grabbingMode = false
  2040. release()
  2041. hideGrabOptions()
  2042. end
  2043. end
  2044. if k == "e" and grabbingMode then
  2045. grabbingMode = false
  2046. airAttack()
  2047. hideGrabOptions()
  2048. end
  2049. if k == "r" and grabbingMode then
  2050. grabbingMode = false
  2051. soulTear()
  2052. hideGrabOptions()
  2053. end
  2054. end)
  2055. game:GetService("RunService").RenderStepped:connect(function()
  2056. if grabbingMode then
  2057. hum.WalkSpeed = defWS / 1.1
  2058. hum.JumpPower = 0
  2059. end
  2060. if not grabbingMode then
  2061. hum.WalkSpeed = defWS
  2062. hum.JumpPower = defJP
  2063. end
  2064. if attacking then
  2065. if RLattacking then
  2066. for i, v in pairs(workspace:GetChildren()) do
  2067. if isHumanoid(v) and v ~= ch then
  2068. local vTorso = v:WaitForChild("Torso")
  2069. if (vTorso.Position - rl.Position).magnitude <= 2.5 and not dmgDebounce then
  2070. dmgDebounce = true
  2071. sound(694048922, 5, 1, vTorso)
  2072. findHumanoid(v):TakeDamage(7.5 + 7.5 * soulPower / 100)
  2073. print(7.5 + 7.5 * soulPower / 100)
  2074. local bv = Instance.new("BodyVelocity", v:WaitForChild("Torso"))
  2075. bv.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2076. bv.velocity = head.CFrame.lookVector * 25 + Vector3.new(0, 10, 0)
  2077. game.Debris:AddItem(bv, 0.05)
  2078. wait(0.5)
  2079. dmgDebounce = false
  2080. end
  2081. end
  2082. end
  2083. end
  2084. if grabbing then
  2085. for i, v in pairs(workspace:GetChildren()) do
  2086. if isHumanoid(v) and v ~= ch then
  2087. if v:findFirstChild("Torso") == nil then
  2088. return
  2089. end
  2090. if (v.Torso.Position - ra.Position).magnitude <= 5 and not dmgDebounce then
  2091. dmgDebounce = true
  2092. sound(200632821, 5, 1, v.Torso)
  2093. findHumanoid(v):TakeDamage(2)
  2094. print(findHumanoid(v).Parent.Name)
  2095. grabbingMode = true
  2096. grabbedCharacter = v.Torso.Parent
  2097. findHumanoid(grabbedCharacter).PlatformStand = false
  2098. findHumanoid(grabbedCharacter).WalkSpeed = 0
  2099. findHumanoid(grabbedCharacter).JumpPower = 0
  2100. for i, v in pairs(grabbedCharacter:GetChildren()) do
  2101. if v:IsA("Part") then
  2102. v.CanCollide = false
  2103. end
  2104. if v.ClassName == "Hat" then
  2105. for i, v in pairs(v:GetChildren()) do
  2106. if v:IsA("BasePart") then
  2107. v.CanCollide = false
  2108. end
  2109. end
  2110. end
  2111. end
  2112. grabWeld = Instance.new("Weld", grabPart)
  2113. grabWeld.Part0 = v.Torso
  2114. grabWeld.Part1 = grabPart
  2115. grabWeld.C0 = CFrame.Angles(math.rad(-90), 0, 0)
  2116. displayGrabOptions()
  2117. wait(0.5)
  2118. dmgDebounce = false
  2119. end
  2120. end
  2121. end
  2122. end
  2123. end
  2124. if hum.Jump and not grabbingMode then
  2125. anim("jump")
  2126. swait(0.25)
  2127. hum.Jump = false
  2128. end
  2129. if 10 <= Vector3.new(0, tor.Velocity.y, 0).magnitude and currentAnim ~= "jump" and currentAnim ~= "land" and hum:GetState() == Enum.HumanoidStateType.Freefall and not hum.Jump then
  2130. anim("descend")
  2131. end
  2132. if 5 > Vector3.new(tor.Velocity.x, 0, tor.Velocity.z).magnitude and currentAnim ~= "land" and currentAnim ~= "jump" and currentAnim ~= "descend" and hum:GetState() ~= Enum.HumanoidStateType.Jumping and hum:GetState() ~= Enum.HumanoidStateType.Freefall then
  2133. anim("idle")
  2134. elseif 5 <= Vector3.new(tor.Velocity.x, 0, tor.Velocity.z).magnitude and currentAnim ~= "land" and currentAnim ~= "jump" and currentAnim ~= "descend" and hum:GetState() ~= Enum.HumanoidStateType.Jumping and hum:GetState() ~= Enum.HumanoidStateType.Freefall then
  2135. anim("walk")
  2136. end
  2137. if grabbingMode then
  2138. grabbedCharacter.Humanoid.PlatformStand = false
  2139. anim("grabPose")
  2140. end
  2141. if souls <= 0 then
  2142. souls = 0
  2143. end
  2144. souls = souls - 0.001
  2145. grabPart.CFrame = ra:GetRenderCFrame() * CFrame.new(0, -1.25, -0.6) * CFrame.Angles(math.rad(-90), 0, 0)
  2146. soulPower = souls * 5
  2147. if soulText.Text == "" then
  2148. soulText.Text = ""
  2149. end
  2150. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement