kaualima12

Untitled

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