Advertisement
good_scripter

MY OWN SCRIPT

Jun 22nd, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.84 KB | None | 0 0
  1. print("this script does nothing, just gives you a cool look")
  2.  
  3. print("FE code by Starzozero, Thanks to him!")
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros, Edited by StarzoZero")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  54. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70. local Mouse = Player:GetMouse()
  71. local UIS = game:GetService("UserInputService")
  72. local input = function(io,a)
  73. if a then return end
  74. --Since InputObject is a client-side instance, we create and pass table instead
  75. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  76. end
  77. UIS.InputBegan:Connect(input)
  78. UIS.InputEnded:Connect(input)
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return rawget(self,s) or _rg:GetService(s)
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. RunService = FakeService({
  123. _btrs = {},
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132. }
  133. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  134. g.service = g.GetService
  135. FakeService(g,game)
  136. --Changing owner to fake player object to support owner:GetMouse()
  137. game,owner = g,g.Players.LocalPlayer
  138. end
  139.  
  140. local Player = game.Players.localPlayer
  141. local Character = Player.Character
  142. local Torso = Character.Torso
  143.  
  144. local Music = Instance.new("Sound")
  145.  
  146. Music.Name = "Sound"
  147. Music.SoundId = "http://roblox.com/asset/?id=0"
  148. Music.Volume = 4
  149. Music.Looped = false
  150. Music.Parent = Character
  151. Music:play()
  152.  
  153. GasMask = true
  154.  
  155. if GasMask == true then
  156. o1 = Instance.new("Model")
  157. o2 = Instance.new("Part")
  158. o3 = Instance.new("SpecialMesh")
  159. o4 = Instance.new("Part")
  160. o5 = Instance.new("Part")
  161. o6 = Instance.new("Part")
  162. o7 = Instance.new("SpecialMesh")
  163. o8 = Instance.new("Part")
  164. o9 = Instance.new("Part")
  165. o10 = Instance.new("SpecialMesh")
  166. o11 = Instance.new("Part")
  167. o12 = Instance.new("Part")
  168. o13 = Instance.new("SpecialMesh")
  169. o14 = Instance.new("Part")
  170. o15 = Instance.new("Part")
  171. o16 = Instance.new("Part")
  172. o17 = Instance.new("Part")
  173. o1.Name = "MODEL"
  174. o2.Name = "Middle"
  175. o2.Parent = o1
  176. o2.BrickColor = BrickColor.new("Pastel brown")
  177. o2.Transparency = 1
  178. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  179. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  180. o2.Anchored = true
  181. o2.FormFactor = Enum.FormFactor.Custom
  182. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  183. o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006)
  184. o2.BottomSurface = Enum.SurfaceType.Smooth
  185. o2.TopSurface = Enum.SurfaceType.Smooth
  186. o2.Color = Color3.new(1, 0.8, 0.6)
  187. o3.Parent = o2
  188. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  189. o3.MeshType = Enum.MeshType.FileMesh
  190. o4.Name = "Lense 1"
  191. o4.Parent = o1
  192. o4.Material = Enum.Material.Metal
  193. o4.Transparency = 0.050000011920929
  194. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  195. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  196. o4.Anchored = true
  197. o4.CanCollide = false
  198. o4.FormFactor = Enum.FormFactor.Custom
  199. o4.Shape = Enum.PartType.Cylinder
  200. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  201. o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478)
  202. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  203. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  204. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  205. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  206. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  207. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  208. o5.Name = "Lense2"
  209. o5.Parent = o1
  210. o5.Material = Enum.Material.Metal
  211. o5.Transparency = 0.050000011920929
  212. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  213. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  214. o5.Anchored = true
  215. o5.CanCollide = false
  216. o5.FormFactor = Enum.FormFactor.Custom
  217. o5.Shape = Enum.PartType.Cylinder
  218. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  219. o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668)
  220. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  221. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  222. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  223. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  224. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  225. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  226. o6.Name = "Handle"
  227. o6.Parent = o1
  228. o6.Material = Enum.Material.Metal
  229. o6.BrickColor = BrickColor.new("Really black")
  230. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  231. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  232. o6.Anchored = true
  233. o6.CanCollide = false
  234. o6.FormFactor = Enum.FormFactor.Plate
  235. o6.Size = Vector3.new(1, 0.400000006, 1)
  236. o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008)
  237. o6.BottomSurface = Enum.SurfaceType.Weld
  238. o6.TopSurface = Enum.SurfaceType.Smooth
  239. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  240. o7.Parent = o6
  241. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  242. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  243. o7.MeshType = Enum.MeshType.FileMesh
  244. o8.Name = "Straps"
  245. o8.Parent = o1
  246. o8.Material = Enum.Material.Fabric
  247. o8.BrickColor = BrickColor.new("Really black")
  248. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  249. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  250. o8.Anchored = true
  251. o8.CanCollide = false
  252. o8.FormFactor = Enum.FormFactor.Custom
  253. o8.Shape = Enum.PartType.Cylinder
  254. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  255. o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  256. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  257. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  258. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  259. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  260. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  261. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  262. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  263. o9.Name = "Ring2"
  264. o9.Parent = o1
  265. o9.BrickColor = BrickColor.new("Dark stone grey")
  266. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  267. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  268. o9.Anchored = true
  269. o9.CanCollide = false
  270. o9.FormFactor = Enum.FormFactor.Custom
  271. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  272. o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195)
  273. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  274. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  275. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  276. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  277. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  278. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  279. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  280. o10.Parent = o9
  281. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  282. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  283. o10.MeshType = Enum.MeshType.FileMesh
  284. o11.Name = "Straps"
  285. o11.Parent = o1
  286. o11.Material = Enum.Material.Fabric
  287. o11.BrickColor = BrickColor.new("Really black")
  288. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  289. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  290. o11.Anchored = true
  291. o11.CanCollide = false
  292. o11.FormFactor = Enum.FormFactor.Custom
  293. o11.Shape = Enum.PartType.Cylinder
  294. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  295. o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762)
  296. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  297. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  298. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  299. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  300. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  301. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  303. o12.Name = "Ring1"
  304. o12.Parent = o1
  305. o12.BrickColor = BrickColor.new("Dark stone grey")
  306. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  307. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  308. o12.Anchored = true
  309. o12.CanCollide = false
  310. o12.FormFactor = Enum.FormFactor.Custom
  311. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  312. o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017)
  313. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  314. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  315. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  316. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  317. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  318. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  319. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  320. o13.Parent = o12
  321. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  322. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  323. o13.MeshType = Enum.MeshType.FileMesh
  324. o14.Name = "Breather"
  325. o14.Parent = o1
  326. o14.Material = Enum.Material.Metal
  327. o14.BrickColor = BrickColor.new("Really black")
  328. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  329. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  330. o14.Anchored = true
  331. o14.CanCollide = false
  332. o14.FormFactor = Enum.FormFactor.Custom
  333. o14.Shape = Enum.PartType.Cylinder
  334. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  335. o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  336. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  337. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  338. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  339. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  340. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  341. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  343. o15.Name = "Breather"
  344. o15.Parent = o1
  345. o15.Material = Enum.Material.Metal
  346. o15.BrickColor = BrickColor.new("Really black")
  347. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  348. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  349. o15.Anchored = true
  350. o15.CanCollide = false
  351. o15.FormFactor = Enum.FormFactor.Custom
  352. o15.Shape = Enum.PartType.Cylinder
  353. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  354. o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762)
  355. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  356. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  357. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  358. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  359. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  360. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  361. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  362. o16.Name = "Breather"
  363. o16.Parent = o1
  364. o16.Material = Enum.Material.Metal
  365. o16.BrickColor = BrickColor.new("Really black")
  366. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  367. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  368. o16.Anchored = true
  369. o16.CanCollide = false
  370. o16.FormFactor = Enum.FormFactor.Custom
  371. o16.Shape = Enum.PartType.Cylinder
  372. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  373. o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  374. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  375. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  376. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  377. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  378. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  379. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  380. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  381. o17.Name = "Breather"
  382. o17.Parent = o1
  383. o17.Material = Enum.Material.Metal
  384. o17.BrickColor = BrickColor.new("Really black")
  385. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  386. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  387. o17.Anchored = true
  388. o17.CanCollide = false
  389. o17.FormFactor = Enum.FormFactor.Custom
  390. o17.Shape = Enum.PartType.Cylinder
  391. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  392. o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967)
  393. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  394. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  395. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  396. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  397. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  398. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  399. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  400. function onTouched(hit)
  401. local d = hit.Parent:GetChildren()
  402. for i=1, #d do
  403. if (d[i].className == "Hat") then
  404. d[i]:remove()
  405. end
  406. end
  407. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  408. local g = o1:clone()
  409. g.Parent = hit.Parent
  410. local C = g:GetChildren()
  411. for i=1, #C do
  412. if C[i].className == "Part" then
  413. local W = Instance.new("Weld")
  414. W.Part0 = g.Middle
  415. W.Part1 = C[i]
  416. local CJ = CFrame.new(g.Middle.Position)
  417. local C0 = g.Middle.CFrame:inverse()*CJ
  418. local C1 = C[i].CFrame:inverse()*CJ
  419. W.C0 = C0
  420. W.C1 = C1
  421. W.Parent = g.Middle
  422. g.Middle.Transparency = 1
  423. end
  424. local Y = Instance.new("Weld")
  425. Y.Part0 = hit.Parent.Head
  426. Y.Part1 = g.Middle
  427. Y.C0 = CFrame.new(0, 0, 0)
  428. Y.Parent = Y.Part0
  429. end
  430.  
  431. local h = g:GetChildren()
  432. for i = 1, # h do
  433. h[i].Anchored = false
  434. h[i].CanCollide = false
  435. end
  436.  
  437. end
  438. end
  439.  
  440. onTouched(game.Players.LocalPlayer.Character.Head)
  441. end
  442. local Player = game:service'Players'.localPlayer
  443. local chara = Player.Character
  444.  
  445. shirt= Instance.new("Shirt", Character)
  446. shirt.Name = "Shirt"
  447. pants = Instance.new("Pants", Character)
  448. pants.Name = "Pants"
  449. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=2224602987"
  450. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=2106003369"
  451.  
  452. Player = game:GetService("Players").LocalPlayer
  453. Character = Player.Character
  454. PlayerGui = Player.PlayerGui
  455. Backpack = Player.Backpack
  456. Torso = Character.Torso
  457. Head = Character.Head
  458. Humanoid = Character.Humanoid
  459. RootPart = Character.HumanoidRootPart
  460. RootJoint = RootPart.RootJoint
  461. LeftArm = Character["Left Arm"]
  462. LeftLeg = Character["Left Leg"]
  463. RightArm = Character["Right Arm"]
  464. RightLeg = Character["Right Leg"]
  465. LS = Torso["Left Shoulder"]
  466. LH = Torso["Left Hip"]
  467. RS = Torso["Right Shoulder"]
  468. RH = Torso["Right Hip"]
  469. Face = Head.face
  470. Neck = Torso.Neck
  471. it = Instance.new
  472. vt = Vector3.new
  473. cf = CFrame.new
  474. rad = math.rad
  475. euler = CFrame.fromEulerAnglesXYZ
  476. angles = CFrame.Angles
  477. Mouse = Player:GetMouse()
  478. coroutine.resume(coroutine.create(function()
  479. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  480. Text = "Fixed by PixelFir3 / Cortana#8155";
  481. Color = Color3.new(0, 1, 1);
  482. Font = Enum.Font.Code;
  483. FontSize = Enum.FontSize.Size24;
  484. })
  485. end))
  486. ArtificialHB = Instance.new("BindableEvent", script)
  487. ArtificialHB.Name = "ArtificialHB"
  488. script:WaitForChild("ArtificialHB")
  489. frame = 0.016666666666667
  490. tf = 0
  491. allowframeloss = false
  492. tossremainder = false
  493. lastframe = tick()
  494. script.ArtificialHB:Fire()
  495. game:GetService("RunService").Heartbeat:connect(function(s, p)
  496.  
  497. tf = tf + s
  498. if frame <= tf then
  499. if allowframeloss then
  500. script.ArtificialHB:Fire()
  501. lastframe = tick()
  502. else
  503. for i = 1, math.floor(tf / frame) do
  504. script.ArtificialHB:Fire()
  505. end
  506. lastframe = tick()
  507. end
  508. if tossremainder then
  509. tf = 0
  510. else
  511. tf = tf - frame * math.floor(tf / frame)
  512. end
  513. end
  514. end
  515. )
  516. local animationspeed = 2
  517. hbwait = function(number)
  518.  
  519. if number == 0 or number == nil then
  520. ArtificialHB.Event:wait()
  521. else
  522. for i = 0, number do
  523. ArtificialHB.Event:wait()
  524. end
  525. end
  526. end
  527.  
  528. local Stats = Instance.new("Folder", Character)
  529. Stats.Name = "Stats"
  530. local Defense = Instance.new("NumberValue", Stats)
  531. Defense.Name = "Defense"
  532. Defense.Value = 0.1
  533. local Movement = Instance.new("NumberValue", Stats)
  534. Movement.Name = "Movement"
  535. Movement.Value = 0.35
  536. local Damage = Instance.new("NumberValue", Stats)
  537. Damage.Name = "Damage"
  538. Damage.Value = 0
  539. local Mana = Instance.new("NumberValue", Stats)
  540. Mana.Name = "Mana"
  541. Mana.Value = 0
  542. local Rooted = Instance.new("BoolValue", Stats)
  543. Rooted.Name = "Rooted"
  544. Rooted.Value = false
  545. local BlockValue = Instance.new("BoolValue", Stats)
  546. BlockValue.Name = "BlockValue"
  547. BlockValue.Value = false
  548. local StaggerHitAnim = Instance.new("BoolValue", Stats)
  549. StaggerHitAnim.Name = "StaggerHitAnim"
  550. StaggerHitAnim.Value = false
  551. local StaggerAnim = Instance.new("BoolValue", Stats)
  552. StaggerAnim.Name = "StaggerAnim"
  553. StaggerAnim.Value = false
  554. local StunAnim = Instance.new("BoolValue", Stats)
  555. StunAnim.Name = "StunAnim"
  556. StunAnim.Value = false
  557. local StunValue = Instance.new("NumberValue", Stats)
  558. StunValue.Name = "StunValue"
  559. StunValue.Value = 0
  560. local CanCrit = Instance.new("BoolValue", Stats)
  561. CanCrit.Name = "CanCrit"
  562. CanCrit.Value = false
  563. local CritChance = Instance.new("NumberValue", Stats)
  564. CritChance.Name = "CritChance"
  565. CritChance.Value = 20
  566. local CanPenetrateArmor = Instance.new("BoolValue", Stats)
  567. CanPenetrateArmor.Name = "CanPenetrateArmor"
  568. CanPenetrateArmor.Value = false
  569. local AntiTeamKill = Instance.new("BoolValue", Stats)
  570. AntiTeamKill.Name = "AntiTeamKill"
  571. AntiTeamKill.Value = false
  572. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  573. RootCF = angles(rad(-90), 0, rad(180))
  574. local idle = 0
  575. local Anim = "Idle"
  576. local animtype = math.floor(math.random(1, 3))
  577. local attacktype = 1
  578. local attack = false
  579. local equipped = false
  580. local LastPoint = nil
  581. local staggerhitanim = false
  582. local staggeranim = false
  583. local stunanim = false
  584. local CritChanceNumber = 0
  585. local idlen = 0
  586. local donum = 0
  587. local sine = 0
  588. local change = 2 / animationspeed
  589. local walkinganim = false
  590. local handidle = false
  591. local walk = 0
  592. local stundelay = 0
  593. local manadelay = 0
  594. local robloxidleanimation = Instance.new("Animation", Torso)
  595. robloxidleanimation.Name = "robloxidleanimation"
  596. robloxidleanimation.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  597. local Animator = Humanoid:FindFirstChild("Animator")
  598. local Animate = Character:FindFirstChild("Animate")
  599. local HitPlayerSounds = {199149137, 199149186, 199149221, 199149235, 199149269, 199149297}
  600. local HitArmorSounds = {199149321, 199149338, 199149367, 199149409, 199149452}
  601. local HitWeaponSounds = {199148971, 199149025, 199149072, 199149109, 199149119}
  602. local HitBlockSounds = {199148933, 199148947}
  603. local cooldown1 = 0
  604. local cooldown2 = 0
  605. local cooldown3 = 0
  606. local cooldown4 = 0
  607. local scrn = Instance.new("ScreenGui", PlayerGui)
  608. local ud = UDim2.new
  609. local c3 = Color3.new
  610. local skillcolorscheme = c3(1, 1, 1)
  611. subtractmana = function(k)
  612.  
  613. if k <= Mana.Value then
  614. Mana.Value = Mana.Value - k
  615. end
  616. end
  617.  
  618. local co1 = 0
  619. local co2 = 0
  620. local co3 = 0
  621. local co4 = 0
  622. local maxmana = 0
  623. local maxstun = 1
  624. local recovermana = 0
  625. local losestun = 0
  626. local stunwait = 0
  627. local manawait = 0
  628. local skill1mana = 0
  629. local skill2mana = 0
  630. local skill3mana = 0
  631. local skill4mana = 0
  632. local menuupdatespeed = 0
  633. local constantupdate = false
  634. local showstats = false
  635. local allowstunbar = false
  636. local CustomColor = Torso.BrickColor
  637. local Colorpart1 = CustomColor.r
  638. local Colorpart2 = CustomColor.g
  639. local Colorpart3 = CustomColor.b
  640. local InverseColor = BrickColor.new(Color3.new(1 - Colorpart1, 1 - Colorpart2, 1 - Colorpart3))
  641. makeframe = function(par, trans, pos, size, color, name)
  642.  
  643. local frame = Instance.new("Frame")
  644. frame.Parent = par
  645. frame.BackgroundTransparency = trans
  646. frame.BorderSizePixel = 2
  647. frame.Position = pos
  648. frame.Size = size
  649. frame.BackgroundColor3 = color
  650. frame.Name = name
  651. return frame
  652. end
  653.  
  654. makelabel = function(par, text, trans, stroketrans, name)
  655.  
  656. local label = Instance.new("TextLabel")
  657. label.Parent = par
  658. label.BackgroundTransparency = 1
  659. label.Size = ud(1, 0, 1, 0)
  660. label.Position = ud(0, 0, 0, 0)
  661. label.TextColor3 = c3(255, 255, 255)
  662. label.TextStrokeTransparency = stroketrans
  663. label.TextTransparency = trans
  664. label.FontSize = Enum.FontSize.Size32
  665. label.Font = Enum.Font.Legacy
  666. label.BorderSizePixel = 0
  667. label.TextScaled = true
  668. label.Text = text
  669. label.Name = name
  670. return label
  671. end
  672.  
  673. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 1")
  674. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 2")
  675. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 3")
  676. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Frame 4")
  677. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 1")
  678. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 2")
  679. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 3")
  680. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Bar 4")
  681. text1 = makelabel(framesk1, "[C] Ability 3", 1, 1, "Text 1")
  682. text2 = makelabel(framesk2, "[V] Ability 4", 1, 1, "Text 2")
  683. text3 = makelabel(framesk3, "[X] Ability 2", 1, 1, "Text 3")
  684. text4 = makelabel(framesk4, "[Z] Ability 1", 1, 1, "Text 4")
  685. manabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Bar")
  686. manacover = makeframe(manabar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(Colorpart1, Colorpart2, Colorpart3), "Mana Cover")
  687. manatext = makelabel(manabar, "Mana", 1, 1, "Mana Text")
  688. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Bar")
  689. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 0.19607843137255, 0.19607843137255), "Health Cover")
  690. healthtext = makelabel(healthbar, "Health", 1, 1, "Health Text")
  691. if allowstunbar == true then
  692. stunframe = makeframe(scrn, 0.5, ud(0.5, 0, 0.78, 0), ud(0.26, 0, 0, 0), c3(1, 1, 0.19607843137255), "Stun Frame")
  693. stunbar = makeframe(stunframe, 0, ud(0, 0, 0, 0), ud(0, 0, 1, 0), c3(1, 1, 0.19607843137255), "Stun Bar")
  694. stuntext = makelabel(stunframe, "Stun", 1, 1, "Stun Text")
  695. end
  696. if showstats == true then
  697. defenseframe = makeframe(scrn, 0.5, ud(0.23, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 0.3921568627451, 1), "Defense Frame")
  698. damageframe = makeframe(scrn, 0.5, ud(0.3225, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(1, 0.3921568627451, 0.3921568627451), "Damage Frame")
  699. movementframe = makeframe(scrn, 0.5, ud(0.415, 0, 0.78, 0), ud(0.075, 0, 0, 0), c3(0.3921568627451, 1, 0.3921568627451), "Movement Frame")
  700. defensetext = makelabel(defenseframe, "Defense: " .. Defense.Value, 1, 1, "Defense Text")
  701. damagetext = makelabel(damageframe, "Damage: " .. Damage.Value, 1, 1, "Damage Text")
  702. movementtext = makelabel(movementframe, "Movement: " .. Movement.Value, 1, 1, "Movement Text")
  703. end
  704. NoOutline = function(Part)
  705.  
  706. Part.TopSurface = 10
  707. end
  708.  
  709. local weldBetween = function(a, b)
  710.  
  711. local weldd = Instance.new("ManualWeld")
  712. weldd.Part0 = a
  713. weldd.Part1 = b
  714. weldd.C0 = CFrame.new()
  715. weldd.C1 = b.CFrame:inverse() * a.CFrame
  716. weldd.Parent = a
  717. return weldd
  718. end
  719.  
  720. nooutline = function(part)
  721.  
  722. part.TopSurface = 10
  723. end
  724.  
  725. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  726.  
  727. local fp = it("Part")
  728. fp.formFactor = formfactor
  729. fp.Parent = parent
  730. fp.Reflectance = reflectance
  731. fp.Transparency = transparency
  732. fp.CanCollide = false
  733. fp.Locked = true
  734. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  735. fp.Name = name
  736. fp.Size = size
  737. fp.Position = Character.Torso.Position
  738. nooutline(fp)
  739. fp.Material = material
  740. fp:BreakJoints()
  741. return fp
  742. end
  743.  
  744. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  745.  
  746. local mesh = it(Mesh)
  747. mesh.Parent = part
  748. if Mesh == "SpecialMesh" then
  749. mesh.MeshType = meshtype
  750. mesh.MeshId = meshid
  751. end
  752. mesh.Offset = offset
  753. mesh.Scale = scale
  754. return mesh
  755. end
  756.  
  757. weld = function(parent, part0, part1, c0, c1)
  758.  
  759. local weld = it("Motor")
  760. weld.Parent = parent
  761. weld.Part0 = part0
  762. weld.Part1 = part1
  763. weld.C0 = c0
  764. weld.C1 = c1
  765. return weld
  766. end
  767.  
  768. local WeaponName = "Russian Kick"
  769. local ClassName = "Russian Kick"
  770. local PlayerSize = 1
  771. local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  772. local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  773. if PlayerSize ~= 1 then
  774. RootPart.Size = RootPart.Size * PlayerSize
  775. Torso.Size = Torso.Size * PlayerSize
  776. Head.Size = Head.Size * PlayerSize
  777. RightArm.Size = RightArm.Size * PlayerSize
  778. LeftArm.Size = LeftArm.Size * PlayerSize
  779. RightLeg.Size = RightLeg.Size * PlayerSize
  780. LeftLeg.Size = LeftLeg.Size * PlayerSize
  781. RootJoint.Parent = RootPart
  782. Neck.Parent = Torso
  783. LS.Parent = Torso
  784. RS.Parent = Torso
  785. LH.Parent = Torso
  786. RH.Parent = Torso
  787. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  788. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  789. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  790. RS.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  791. LS.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  792. RS.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  793. LS.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  794. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  795. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  796. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  797. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  798. for _,v in pairs(Character:GetChildren()) do
  799. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  800. v.Parent = nil
  801. v.Parent = Character
  802. v.Handle.Mesh.Scale = v.Handle.Mesh.Scale * PlayerSize
  803. for _,b in pairs(v.Handle:GetChildren()) do
  804. if b.ClassName == "Weld" or b.ClassName == "Motor" then
  805. local p1 = b.Part1
  806. b.Part1 = nil
  807. local c01, c02, c03, c04, c05, c06, c07, c08, c09, c010, c011, c012 = b.C0:components()
  808. local c11, c12, c13, c14, c15, c16, c17, c18, c19, c110, c111, c112 = b.C1:components()
  809. b.C0 = cf(c01 * PlayerSize, c02 * PlayerSize, c03 * PlayerSize, c04, c05, c06, c07, c08, c09, c010, c011, c012)
  810. b.C1 = cf(c11 * PlayerSize, c12 * PlayerSize, c13 * PlayerSize, c14, c15, c16, c17, c18, c19, c110, c111, c112)
  811. b.Part1 = p1
  812. end
  813. end
  814. end
  815. end
  816. end
  817. m = Instance.new("Model", Character)
  818. m.Name = WeaponName
  819. Effects = Instance.new("Folder", m)
  820. Effects.Name = "Effects"
  821. Humanoid.Died:connect(function()
  822.  
  823. attack = true
  824. for _,v in pairs(Character:GetChildren()) do
  825. if v.ClassName == "Model" then
  826. v:Destroy()
  827. end
  828. end
  829. end
  830. )
  831. for i,v in pairs(Character:GetChildren()) do
  832. if v.ClassName == "Model" then
  833. for _,c in pairs(v:GetChildren()) do
  834. if c.ClassName == "Part" then
  835. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  836. end
  837. end
  838. end
  839. end
  840. print(ClassName .. " loaded.")
  841. clerp = function(a, b, t)
  842. return a:lerp(b, t)
  843. end
  844.  
  845. positiveangle = function(number)
  846.  
  847. if number > 0 then
  848. number = 0
  849. end
  850. return number
  851. end
  852.  
  853. negativeangle = function(number)
  854.  
  855. if number < 0 then
  856. number = 0
  857. end
  858. return number
  859. end
  860.  
  861. so = function(id, par, vol, pit)
  862.  
  863. coroutine.resume(coroutine.create(function()
  864.  
  865. local sou = Instance.new("Sound", par or workspace)
  866. sou.Volume = vol
  867. sou.Pitch = pit or 1
  868. sou.SoundId = "http://roblox.com/asset/?id=" .. id
  869. hbwait()
  870. sou:play()
  871. game:GetService("Debris"):AddItem(sou, 10)
  872. end
  873. ))
  874. end
  875.  
  876. GetDistance = function(Part1, Part2, magnitude)
  877.  
  878. local target = Part1.Position - Part2.Position
  879. local mag = target.magnitude
  880. if mag <= magnitude then
  881. return true
  882. else
  883. return false
  884. end
  885. end
  886.  
  887. rayCast = function(Pos, Dir, Max, Ignore)
  888.  
  889. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  890. end
  891.  
  892. DamageStatLabel = function(labeltype, cframe, text, color)
  893.  
  894. local c = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt(0, 0, 0))
  895. c.CFrame = cf(cframe.p + vt(0, 1.5, 0))
  896. game:GetService("Debris"):AddItem(c, 5)
  897. Instance.new("BodyGyro", c)
  898. local f = Instance.new("BodyPosition", c)
  899. f.P = 2000
  900. f.D = 100
  901. f.maxForce = vt(math.huge, math.huge, math.huge)
  902. if labeltype == "Normal" then
  903. f.position = c.Position + vt(math.random(-2, 2), 6, math.random(-2, 2))
  904. else
  905. if labeltype == "Debuff" then
  906. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  907. else
  908. if labeltype == "Interruption" then
  909. f.position = c.Position + vt(math.random(-2, 2), 8, math.random(-2, 2))
  910. end
  911. end
  912. end
  913. game:GetService("Debris"):AddItem(c, 5)
  914. local bg = Instance.new("BillboardGui", c)
  915. bg.Adornee = c
  916. bg.Size = UDim2.new(2.5, 0, 2.5, 0)
  917. bg.StudsOffset = vt(-2, 2, 0)
  918. bg.AlwaysOnTop = false
  919. local tl = Instance.new("TextLabel", bg)
  920. tl.BackgroundTransparency = 1
  921. tl.Size = UDim2.new(2.5, 0, 2.5, 0)
  922. tl.Text = text
  923. tl.Font = Enum.Font.SourceSans
  924. tl.FontSize = Enum.FontSize.Size42
  925. tl.TextColor3 = color
  926. tl.TextScaled = false
  927. tl.TextStrokeTransparency = 0
  928. tl.TextScaled = true
  929. tl.TextWrapped = true
  930. f.Parent = c
  931. coroutine.resume(coroutine.create(function(Part, BodyPosition, TextLabel)
  932.  
  933. wait(0.25)
  934. for i = 1, 5 do
  935. wait()
  936. BodyPosition.position = Part.Position - vt(0, 0.5, 0)
  937. end
  938. wait(1.25)
  939. for i = 1, 5 do
  940. wait()
  941. TextLabel.TextTransparency = TextLabel.TextTransparency + 0.2
  942. TextLabel.TextStrokeTransparency = TextLabel.TextStrokeTransparency + 0.2
  943. BodyPosition.position = Part.Position + vt(0, 0.5, 0)
  944. end
  945. Part.Parent = nil
  946. end
  947. ), c, f, tl)
  948. end
  949.  
  950. IncreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  951.  
  952. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  953.  
  954. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  955.  
  956. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  957. Location.Stats[Stat].Value = Location.Stats[Stat].Value + Amount
  958. if ShowTheStat == true then
  959. if Stat == "Defense" then
  960. DamageStatLabel("Debuff", Location.Head.CFrame, "+Defense", c3(1, 1, 1))
  961. else
  962. if Stat == "Damage" then
  963. DamageStatLabel("Debuff", Location.Head.CFrame, "+Damage", c3(1, 1, 1))
  964. else
  965. if Stat == "Movement" then
  966. DamageStatLabel("Debuff", Location.Head.CFrame, "+Movement", c3(1, 1, 1))
  967. end
  968. end
  969. end
  970. end
  971. coroutine.resume(coroutine.create(function(CurrentDecrease)
  972.  
  973. wait(Duration)
  974. CurrentDecrease.Value = CurrentDecrease.Value - Amount
  975. end
  976. ), Location.Stats[Stat])
  977. end
  978. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  979. end
  980.  
  981. DecreaseStat = function(Location, Stat, Amount, Duration, ShowTheStat)
  982.  
  983. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  984.  
  985. -- DECOMPILER ERROR at PC28: Unhandled construct in 'MakeBoolean' P1
  986.  
  987. if Location:FindFirstChild("Stats") ~= nil and Location.Stats:FindFirstChild("BlockValue") ~= nil and Location.Stats:FindFirstChild("BlockValue").Value ~= true and Location.Stats[Stat] ~= nil then
  988. Location.Stats[Stat].Value = Location.Stats[Stat].Value - Amount
  989. if ShowTheStat == true then
  990. if Stat == "Defense" then
  991. DamageStatLabel("Debuff", Location.Head.CFrame, "-Defense", c3(1, 1, 1))
  992. else
  993. if Stat == "Damage" then
  994. DamageStatLabel("Debuff", Location.Head.CFrame, "-Damage", c3(1, 1, 1))
  995. else
  996. if Stat == "Movement" then
  997. DamageStatLabel("Debuff", Location.Head.CFrame, "-Movement", c3(1, 1, 1))
  998. end
  999. end
  1000. end
  1001. end
  1002. coroutine.resume(coroutine.create(function(CurrentDecrease)
  1003.  
  1004. wait(Duration)
  1005. CurrentDecrease.Value = CurrentDecrease.Value + Amount
  1006. end
  1007. ), Location.Stats[Stat])
  1008. end
  1009. DamageStatLabel("Interruption", Location.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  1010. end
  1011.  
  1012. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, DecreaseTheStat, DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1013.  
  1014. if hit.Parent == nil then
  1015. return
  1016. end
  1017. h = hit.Parent:FindFirstChild("Humanoid")
  1018. for _,v in pairs(hit.Parent:GetChildren()) do
  1019. if v:IsA("Humanoid") then
  1020. h = v
  1021. end
  1022. end
  1023. if hit.Name == "Hitbox" and ranged ~= true and hit.Parent ~= m then
  1024. StaggerHitAnim.Value = true
  1025. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hit, 1, 1)
  1026. return
  1027. end
  1028. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1029. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1030. end
  1031. if hit.Parent.className == "Hat" then
  1032. hit = hit.Parent.Parent:FindFirstChild("Head")
  1033. end
  1034. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1035. if hit.Parent:FindFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1036. return
  1037. end
  1038. if AntiTeamKill.Value == true and Player.Neutral == false and game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  1039. return
  1040. end
  1041. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health <= 0 then
  1042. return
  1043. end
  1044. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  1045. hit.Parent.Stats:FindFirstChild("StunValue").Value = hit.Parent.Stats:FindFirstChild("StunValue").Value + incstun
  1046. end
  1047. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("StaggerAnim") ~= nil and stagger == true then
  1048. hit.Parent.Stats:FindFirstChild("StaggerAnim").Value = true
  1049. end
  1050. if hit.Parent:FindFirstChild("Stats") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue") ~= nil and hit.Parent.Stats:FindFirstChild("BlockValue").Value == true then
  1051. if hit.Parent.Stats:FindFirstChild("BlockDebounce") == nil then
  1052. DamageStatLabel("Interruption", hit.Parent.Head.CFrame, "Blocked!", Color3.new(0, 0.3921568627451, 1))
  1053. local BlockDebounce = Instance.new("BoolValue", hit.Parent.Stats)
  1054. BlockDebounce.Name = "BlockDebounce"
  1055. BlockDebounce.Value = true
  1056. game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  1057. end
  1058. do
  1059. if ranged ~= true then
  1060. do
  1061. if hit.Parent.Stats:FindFirstChild("BlockDebounce2") == nil then
  1062. local BlockDebounce2 = Instance.new("BoolValue", hit.Parent.Stats)
  1063. BlockDebounce2.Name = "BlockDebounce2"
  1064. BlockDebounce2.Value = true
  1065. game:GetService("Debris"):AddItem(BlockDebounce2, 0.1)
  1066. so(HitBlockSounds[math.random(1, #HitBlockSounds)], hit, 1, 1)
  1067. end
  1068. hit.Parent.Stats:FindFirstChild("BlockValue").Value = false
  1069. StaggerAnim.Value = true
  1070. do return end
  1071. if DecreaseTheStat ~= nil and hit.Parent:FindFirstChild("Stats") ~= nil then
  1072. if DecreaseTheStat == "Defense" then
  1073. DecreaseStat(hit.Parent, "Defense", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1074. else
  1075. if DecreaseTheStat == "Damage" then
  1076. DecreaseStat(hit.Parent, "Damage", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1077. else
  1078. if DecreaseTheStat == "Movement" then
  1079. DecreaseStat(hit.Parent, "Movement", DecreaseAmount, DecreaseDuration, ShowDecreasedStat)
  1080. end
  1081. end
  1082. end
  1083. end
  1084. local D = math.random(minim, maxim) * Damage.Value
  1085. if hit.Parent:FindFirstChild("Stats") ~= nil then
  1086. if hit.Parent.Stats:FindFirstChild("Defense") then
  1087. if CanPenetrateArmor.Value == true then
  1088. D = D / hit.Parent.Stats:FindFirstChild("Defense").Value
  1089. -- DECOMPILER ERROR at PC377: Unhandled construct in 'MakeBoolean' P1
  1090.  
  1091. if hit.Parent.Stats:FindFirstChild("Defense") ~= nil or CanCrit.Value == true then
  1092. CritChanceNumber = math.random(1, CritChance.Value)
  1093. if CritChanceNumber == CritChance.Value then
  1094. D = D * 2
  1095. end
  1096. end
  1097. D = math.floor(D)
  1098. h.Health = h.Health - D
  1099. if D <= 3 and staggerhit == true then
  1100. if ranged ~= true then
  1101. StaggerHitAnim.Value = true
  1102. end
  1103. if ranged ~= true then
  1104. so(HitArmorSounds[math.random(1, #HitArmorSounds)], hit, 1, 1)
  1105. end
  1106. else
  1107. if D > 3 and ranged ~= true then
  1108. so(HitPlayerSounds[math.random(1, #HitPlayerSounds)], hit, 1, 1)
  1109. end
  1110. end
  1111. if D > 3 and D < 20 then
  1112. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1113. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1114. so("296102734", hit, 1, 1)
  1115. else
  1116. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0.86274509803922, 0))
  1117. end
  1118. else
  1119. if D >= 20 then
  1120. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1121. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1122. so("296102734", hit, 1, 1)
  1123. else
  1124. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(1, 0, 0))
  1125. end
  1126. else
  1127. if D <= 3 then
  1128. if CanCrit.Value == true and CritChanceNumber == CritChance.Value then
  1129. DamageStatLabel("Normal", hit.Parent.Head.CFrame, "Crit! " .. D, Color3.new(0.7843137254902, 0, 0))
  1130. so("296102734", hit, 1, 1)
  1131. else
  1132. DamageStatLabel("Normal", hit.Parent.Head.CFrame, D, Color3.new(0.88235294117647, 0.88235294117647, 0.88235294117647))
  1133. end
  1134. end
  1135. end
  1136. end
  1137. do
  1138. if Type == "Normal" then
  1139. local vp = Instance.new("BodyVelocity")
  1140. vp.P = 500
  1141. vp.maxForce = vt(math.huge, 0, math.huge)
  1142. if KnockbackType == 1 then
  1143. vp.Velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1144. else
  1145. if KnockbackType == 2 then
  1146. vp.Velocity = Property.CFrame.lookVector * knockback
  1147. end
  1148. end
  1149. if knockback > 0 then
  1150. vp.Parent = hit.Parent.Torso
  1151. end
  1152. game:GetService("Debris"):AddItem(vp, 0.5)
  1153. end
  1154. local DebounceHit = Instance.new("BoolValue", hit.Parent)
  1155. DebounceHit.Name = "DebounceHit"
  1156. DebounceHit.Value = true
  1157. game:GetService("Debris"):AddItem(DebounceHit, Delay)
  1158. end
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168.  
  1169. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1170.  
  1171. for _,c in pairs(workspace:GetChildren()) do
  1172. local hum = (c:FindFirstChild("Humanoid"))
  1173. local head = nil
  1174. if hum ~= nil then
  1175. head = c:FindFirstChild("Torso")
  1176. if head ~= nil then
  1177. local targ = head.Position - Part.Position
  1178. local mag = targ.magnitude
  1179. if mag <= magni and c.Name ~= Player.Name then
  1180. Damagefunc(head, mindam, maxdam, knock, Type, Property, Delay, KnockbackType, incstun, stagger, staggerhit, ranged, MagicDecreaseTheStat, MagicDecreaseAmount, MagicDecreaseDuration, MagicShowDecreasedStat)
  1181. end
  1182. end
  1183. do
  1184. for _,d in pairs(c:GetChildren()) do
  1185. if d.ClassName == "Model" and ranged ~= true then
  1186. head = d:FindFirstChild("Hitbox")
  1187. if head ~= nil then
  1188. local targ = head.Position - Part.Position
  1189. local mag = targ.magnitude
  1190. if mag <= magni and c.Name ~= Player.Name then
  1191. local hitrefpart = part(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", vt())
  1192. hitrefpart.Anchored = true
  1193. hitrefpart.CFrame = cf(head.Position)
  1194. so(HitWeaponSounds[math.random(1, #HitWeaponSounds)], hitrefpart, 1, 1)
  1195. StaggerHitAnim.Value = true
  1196. end
  1197. end
  1198. end
  1199. end
  1200. do
  1201. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out DO_STMT
  1202.  
  1203. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1204.  
  1205. -- DECOMPILER ERROR at PC107: LeaveBlock: unexpected jumping out IF_STMT
  1206.  
  1207. end
  1208. end
  1209. end
  1210. end
  1211. end
  1212.  
  1213. MagniBufforDebuff = function(Part, Magni, Type, Stat, Amount, Duration, ShowTheBufforDebuff, ApplyToOthersInstead)
  1214.  
  1215. if Player.Neutral == true then
  1216. if Type == "Buff" then
  1217. IncreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1218. else
  1219. if Type == "Debuff" then
  1220. DecreaseStat(Character, Stat, Amount, Duration, ShowTheBufforDebuff)
  1221. end
  1222. end
  1223. end
  1224. for _,c in pairs(workspace:GetChildren()) do
  1225. local hum = (c:FindFirstChild("Humanoid"))
  1226. local head = nil
  1227. if hum ~= nil then
  1228. head = c:FindFirstChild("Torso")
  1229. if head ~= nil then
  1230. local targ = head.Position - Part.Position
  1231. local mag = targ.magnitude
  1232. -- DECOMPILER ERROR at PC83: Unhandled construct in 'MakeBoolean' P1
  1233.  
  1234. if ApplyToOthersInstead == true and mag <= Magni and c.Name ~= Player.Name and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1235. if Type == "Buff" then
  1236. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1237. else
  1238. if Type == "Debuff" then
  1239. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1240. end
  1241. end
  1242. end
  1243. end
  1244. end
  1245. if ApplyToOthersInstead == false and mag <= Magni and Player.Neutral == false and game.Players:GetPlayerFromCharacter(head.Parent) ~= nil and game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  1246. if Type == "Buff" then
  1247. IncreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1248. else
  1249. if Type == "Debuff" then
  1250. DecreaseStat(head.Parent, Stat, Amount, Duration, ShowTheBufforDebuff)
  1251. end
  1252. end
  1253. end
  1254. end
  1255. end
  1256.  
  1257. Lightning = function(p0, p1, tym, ofs, brickcolor, material, th, tra, last)
  1258.  
  1259. local magz = p0 - p1.magnitude
  1260. local curpos = p0
  1261. local trz = {-ofs, ofs}
  1262. for i = 1, tym do
  1263. local li = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt(th, th, magz / tym))
  1264. do
  1265. li.Anchored = true
  1266. local ofz = vt(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1267. local trolpos = cf(curpos, p1) * cf(0, 0, magz / tym).p + ofz
  1268. if tym == i then
  1269. local magz2 = curpos - p1.magnitude
  1270. li.Size = vt(th, th, magz2)
  1271. li.CFrame = cf(curpos, p1) * cf(0, 0, -magz2 / 2)
  1272. else
  1273. do
  1274. do
  1275. li.CFrame = cf(curpos, trolpos) * cf(0, 0, magz / tym / 2)
  1276. curpos = li.CFrame * cf(0, 0, magz / tym / 2).p
  1277. game.Debris:AddItem(li, last)
  1278. coroutine.resume(coroutine.create(function()
  1279.  
  1280. while li.Transparency ~= 1 do
  1281. for i = 0, 1, last do
  1282. hbwait()
  1283. li.Transparency = li.Transparency + 0.1 / last
  1284. end
  1285. end
  1286. end
  1287. ))
  1288. end
  1289. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1290.  
  1291. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out IF_STMT
  1292.  
  1293. -- DECOMPILER ERROR at PC118: LeaveBlock: unexpected jumping out DO_STMT
  1294.  
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300.  
  1301. MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1302.  
  1303. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1304. prt.Anchored = true
  1305. prt.CFrame = cframe
  1306. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1307. game:GetService("Debris"):AddItem(prt, 10)
  1308. coroutine.resume(coroutine.create(function(Part, Mesh)
  1309.  
  1310. for i = 0, 1, delay do
  1311. hbwait()
  1312. Part.CFrame = Part.CFrame
  1313. Part.Transparency = i
  1314. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1315. end
  1316. Part.Parent = nil
  1317. end
  1318. ), prt, msh)
  1319. end
  1320.  
  1321. MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1322.  
  1323. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1324. prt.Anchored = true
  1325. prt.CFrame = cframe
  1326. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, -0.1 * z1), vt(x1, y1, z1))
  1327. game:GetService("Debris"):AddItem(prt, 10)
  1328. coroutine.resume(coroutine.create(function(Part, Mesh)
  1329.  
  1330. for i = 0, 1, delay do
  1331. hbwait()
  1332. Part.CFrame = Part.CFrame
  1333. Part.Transparency = i
  1334. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1335. end
  1336. Part.Parent = nil
  1337. end
  1338. ), prt, msh)
  1339. end
  1340.  
  1341. MagicBlock = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1342.  
  1343. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1344. prt.Anchored = true
  1345. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1346. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1347. game:GetService("Debris"):AddItem(prt, 10)
  1348. coroutine.resume(coroutine.create(function(Part, Mesh)
  1349.  
  1350. for i = 0, 1, delay do
  1351. hbwait()
  1352. if rotate == true then
  1353. Part.CFrame = Part.CFrame * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1354. end
  1355. Part.Transparency = i
  1356. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1357. end
  1358. Part.Parent = nil
  1359. end
  1360. ), prt, msh)
  1361. end
  1362.  
  1363. MagicBlock2 = function(brickcolor, material, rotate, cframe, x1, y1, z1, x3, y3, z3, delay)
  1364.  
  1365. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1366. prt.Anchored = true
  1367. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1368. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1369. game:GetService("Debris"):AddItem(prt, 10)
  1370. CF = prt.CFrame
  1371. num = math.random(5, 20)
  1372. coroutine.resume(coroutine.create(function(Part, Mesh, CF2, Num)
  1373.  
  1374. for i = 0, 1, delay do
  1375. hbwait()
  1376. if rotate == true then
  1377. Part.CFrame = CF2 * cf(0, i * Num, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1378. else
  1379. Part.CFrame = CF2 * cf(0, i * Num, 0)
  1380. end
  1381. Part.Transparency = i
  1382. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1383. end
  1384. Part.Parent = nil
  1385. end
  1386. ), prt, msh, CF, num)
  1387. end
  1388.  
  1389. MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1390.  
  1391. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1392. prt.Anchored = true
  1393. prt.CFrame = cframe
  1394. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1395. game:GetService("Debris"):AddItem(prt, 10)
  1396. coroutine.resume(coroutine.create(function(Part, Mesh)
  1397.  
  1398. for i = 0, 1, delay do
  1399. hbwait()
  1400. Part.Transparency = i
  1401. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1402. end
  1403. Part.Parent = nil
  1404. end
  1405. ), prt, msh)
  1406. end
  1407.  
  1408. MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1409.  
  1410. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1411. prt.Anchored = true
  1412. prt.CFrame = cframe
  1413. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1414. game:GetService("Debris"):AddItem(prt, 10)
  1415. coroutine.resume(coroutine.create(function(Part, Mesh)
  1416.  
  1417. for i = 0, 1, delay do
  1418. hbwait()
  1419. Part.Transparency = i
  1420. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1421. end
  1422. Part.Parent = nil
  1423. end
  1424. ), prt, msh)
  1425. end
  1426.  
  1427. MagicHead = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1428.  
  1429. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1430. prt.Anchored = true
  1431. prt.CFrame = cframe
  1432. local msh = mesh("SpecialMesh", prt, "Head", "", vt(0, 0, 0), vt(x1, y1, z1))
  1433. game:GetService("Debris"):AddItem(prt, 10)
  1434. coroutine.resume(coroutine.create(function(Part, Mesh)
  1435.  
  1436. for i = 0, 1, delay do
  1437. hbwait()
  1438. Part.Transparency = i
  1439. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1440. end
  1441. Part.Parent = nil
  1442. end
  1443. ), prt, msh)
  1444. end
  1445.  
  1446. BreakEffect = function(brickcolor, material, rotate, cframe, x1, y1, z1, delay)
  1447.  
  1448. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1449. prt.Anchored = true
  1450. prt.CFrame = cframe * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1451. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1452. game:GetService("Debris"):AddItem(prt, 10)
  1453. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1454.  
  1455. CF = Part.CFrame
  1456. Numbb = 0
  1457. randnumb = math.random() - math.random()
  1458. for i = 0, 1, delay do
  1459. hbwait()
  1460. CF = CF * cf(0, 1, 0)
  1461. if rotate == true then
  1462. Part.CFrame = CF * angles(Numbb, 0, 0)
  1463. else
  1464. if rotate == false then
  1465. Part.CFrame = CF
  1466. end
  1467. end
  1468. Part.Transparency = i
  1469. Numbb = Numbb + (randnumb)
  1470. end
  1471. Part.Parent = nil
  1472. end
  1473. ), prt, CF, Numbb, randnumb)
  1474. end
  1475.  
  1476. ElecEffect = function(brickcolor, material, cf, x, y, z, delay)
  1477.  
  1478. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1479. prt.Anchored = true
  1480. prt.CFrame = cf
  1481. xval = math.random()
  1482. yval = math.random()
  1483. zval = math.random()
  1484. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x, y, z))
  1485. game:GetService("Debris"):AddItem(prt, 10)
  1486. coroutine.resume(coroutine.create(function(Part, Mesh, xvaal, yvaal, zvaal)
  1487.  
  1488. for i = 0, 1, delay do
  1489. hbwait()
  1490. Part.CFrame = Part.CFrame
  1491. xvaal = xvaal - 0.1 * (delay * 10)
  1492. yvaal = yvaal - 0.1 * (delay * 10)
  1493. zvaal = zvaal - 0.1 * (delay * 10)
  1494. Mesh.Scale = Mesh.Scale + vt(xvaal, yvaal, zvaal)
  1495. Part.Transparency = i
  1496. end
  1497. Part.Parent = nil
  1498. end
  1499. ), prt, msh, xval, yval, zval)
  1500. end
  1501.  
  1502. TrailEffect = function(brickcolor, material, currentcf, oldcf, meshtype, reflectance, size, x, y, z, delay)
  1503.  
  1504. local magnitudecframe = currentcf.p - oldcf.p.magnitude
  1505. if magnitudecframe > 0.01 then
  1506. local prt = part(3, Effects, material, reflectance, 0, brickcolor, "Effect", vt(1, magnitudecframe, 1))
  1507. prt.Anchored = true
  1508. prt.CFrame = cf((currentcf.p + oldcf.p) / 2, oldcf.p) * angles(rad(90), 0, 0)
  1509. local TheMeshType = "BlockMesh"
  1510. if meshtype == "Cylinder" then
  1511. TheMeshType = "CylinderMesh"
  1512. end
  1513. local msh = mesh(TheMeshType, prt, "", "", vt(0, 0, 0), vt(0 + size, 1, 0 + size))
  1514. game:GetService("Debris"):AddItem(prt, 10)
  1515. coroutine.resume(coroutine.create(function(Part, Mesh, TheCurrentCFrame, TheLastCFrame)
  1516.  
  1517. for i = 0, 1, delay do
  1518. hbwait()
  1519. Part.Transparency = i
  1520. Mesh.Scale = Mesh.Scale + vt(x, y, z)
  1521. end
  1522. Part.Parent = nil
  1523. end
  1524. ), prt, msh, currentcf, oldcf)
  1525. end
  1526. end
  1527.  
  1528. ClangEffect = function(brickcolor, material, cframe, angle, duration, size, power, reflectance, x, y, z, delay)
  1529.  
  1530. local prt = part(3, Effects, material, 0, 1, brickcolor, "Effect", vt())
  1531. prt.Anchored = true
  1532. prt.CFrame = cframe
  1533. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(0, 0, 0))
  1534. game:GetService("Debris"):AddItem(prt, 10)
  1535. local TheLastPoint = cframe
  1536. coroutine.resume(coroutine.create(function(Part)
  1537.  
  1538. for i = 1, duration do
  1539. hbwait()
  1540. Part.CFrame = Part.CFrame * angles(rad(angle), 0, 0) * cf(0, power, 0)
  1541. TrailEffect(brickcolor, material, Part.CFrame, TheLastPoint, "Cylinder", reflectance, size, x, y, z, delay)
  1542. TheLastPoint = Part.CFrame
  1543. end
  1544. Part.Parent = nil
  1545. end
  1546. ), prt)
  1547. end
  1548.  
  1549. MagicCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1550.  
  1551. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1552. prt.Anchored = true
  1553. prt.CFrame = cframe
  1554. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1778999", vt(0, 0, 0), vt(x1, y1, z1))
  1555. game:GetService("Debris"):AddItem(prt, 10)
  1556. coroutine.resume(coroutine.create(function(Part, Mesh)
  1557.  
  1558. for i = 0, 1, delay do
  1559. hbwait()
  1560. Part.Transparency = i
  1561. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1562. end
  1563. Part.Parent = nil
  1564. end
  1565. ), prt, msh)
  1566. end
  1567.  
  1568. MagicFlatCone = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1569.  
  1570. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1571. prt.Anchored = true
  1572. prt.CFrame = cframe
  1573. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1033714", vt(0, 0, 0), vt(x1, y1, z1))
  1574. game:GetService("Debris"):AddItem(prt, 10)
  1575. coroutine.resume(coroutine.create(function(Part, Mesh)
  1576.  
  1577. for i = 0, 1, delay do
  1578. hbwait()
  1579. Part.Transparency = i
  1580. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1581. end
  1582. Part.Parent = nil
  1583. end
  1584. ), prt, msh)
  1585. end
  1586.  
  1587. MagicSpikedCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1588.  
  1589. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1590. prt.Anchored = true
  1591. prt.CFrame = cframe
  1592. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1323306", vt(0, 0, 0), vt(x1, y1, z1))
  1593. game:GetService("Debris"):AddItem(prt, 10)
  1594. coroutine.resume(coroutine.create(function(Part, Mesh)
  1595.  
  1596. for i = 0, 1, delay do
  1597. hbwait()
  1598. Part.Transparency = i
  1599. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1600. end
  1601. Part.Parent = nil
  1602. end
  1603. ), prt, msh)
  1604. end
  1605.  
  1606. MagicCrown = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1607.  
  1608. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1609. prt.Anchored = true
  1610. prt.CFrame = cframe
  1611. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1078075", vt(0, 0, 0), vt(x1, y1, z1))
  1612. game:GetService("Debris"):AddItem(prt, 10)
  1613. coroutine.resume(coroutine.create(function(Part, Mesh)
  1614.  
  1615. for i = 0, 1, delay do
  1616. hbwait()
  1617. Part.Transparency = i
  1618. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1619. end
  1620. Part.Parent = nil
  1621. end
  1622. ), prt, msh)
  1623. end
  1624.  
  1625. MagicSkull = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, delay)
  1626.  
  1627. local prt = part(3, Effects, material, 0, 0, brickcolor, "Effect", vt())
  1628. prt.Anchored = true
  1629. prt.CFrame = cframe
  1630. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1631. game:GetService("Debris"):AddItem(prt, 10)
  1632. coroutine.resume(coroutine.create(function(Part, Mesh)
  1633.  
  1634. for i = 0, 1, delay do
  1635. hbwait()
  1636. Part.Transparency = i
  1637. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1638. end
  1639. Part.Parent = nil
  1640. end
  1641. ), prt, msh)
  1642. end
  1643.  
  1644. local startequipped = true
  1645. local startequippedwithequipanimation = false
  1646. local disableanimator = true
  1647. local disableanimate = true
  1648. local alternatewalk = false
  1649. local hidemenu = false
  1650. local allowmenutofunction = false
  1651. local allowabilitiestofunction = false
  1652. local canunequiporequip = false
  1653. local allowwalking = false
  1654. local disablemovingarms = false
  1655. local usemotorsinsteadofwelds = false
  1656. local leftarm = false
  1657. local rightarm = false
  1658. local allowhopperbin = false
  1659. local showstunbar = false
  1660. local walkspeeddependsonmovementvalue = true
  1661. local alternatemanaregensystem = false
  1662. local showhealthmanaandstunnumbers = false
  1663. local changebarcolorsifnotenoughmana = false
  1664. local disablejump = false
  1665. if hidemenu == true or allowmenutofunction == false then
  1666. for _,v in pairs(scrn:GetChildren()) do
  1667. if v.ClassName == "Frame" or v.ClassName == "TextLabel" then
  1668. v.Visible = false
  1669. v.BorderSizePixel = 0
  1670. end
  1671. end
  1672. end
  1673. do
  1674. Humanoid.Changed:connect(function(Jump)
  1675.  
  1676. if Jump == "Jump" and disablejump == true then
  1677. Humanoid.Jump = false
  1678. end
  1679. end
  1680. )
  1681. if allowmenutofunction == true then
  1682. for _,v in pairs(scrn:GetChildren()) do
  1683. if v.ClassName == "Frame" then
  1684. for _,b in pairs(v:GetChildren()) do
  1685. if b.ClassName == "TextLabel" then
  1686. coroutine.resume(coroutine.create(function(TheTextLabel)
  1687.  
  1688. wait(menuupdatespeed)
  1689. for i = 1, 0, -0.1 do
  1690. hbwait()
  1691. TheTextLabel.TextTransparency = i
  1692. TheTextLabel.TextStrokeTransparency = i
  1693. end
  1694. TheTextLabel.TextTransparency = 0
  1695. TheTextLabel.TextStrokeTransparency = 0
  1696. end
  1697. ), b)
  1698. if showstats == true then
  1699. coroutine.resume(coroutine.create(function(TheTextLabel)
  1700.  
  1701. wait(menuupdatespeed)
  1702. for i = 1, 0, -0.1 do
  1703. hbwait()
  1704. TheTextLabel.TextTransparency = i
  1705. TheTextLabel.TextStrokeTransparency = i
  1706. end
  1707. TheTextLabel.TextTransparency = 0
  1708. TheTextLabel.TextStrokeTransparency = 0
  1709. end
  1710. ), b)
  1711. end
  1712. if showstunbar == true then
  1713. coroutine.resume(coroutine.create(function(TheTextLabel)
  1714.  
  1715. wait(menuupdatespeed)
  1716. for i = 1, 0, -0.1 do
  1717. hbwait()
  1718. TheTextLabel.TextTransparency = i
  1719. TheTextLabel.TextStrokeTransparency = i
  1720. end
  1721. TheTextLabel.TextTransparency = 0
  1722. TheTextLabel.TextStrokeTransparency = 0
  1723. end
  1724. ), b)
  1725. end
  1726. if allowabilitiestofunction == true then
  1727. coroutine.resume(coroutine.create(function(TheTextLabel)
  1728.  
  1729. wait(menuupdatespeed)
  1730. for i = 1, 0, -0.1 do
  1731. hbwait()
  1732. TheTextLabel.TextTransparency = i
  1733. TheTextLabel.TextStrokeTransparency = i
  1734. end
  1735. TheTextLabel.TextTransparency = 0
  1736. TheTextLabel.TextStrokeTransparency = 0
  1737. end
  1738. ), b)
  1739. end
  1740. end
  1741. end
  1742. end
  1743. end
  1744. end
  1745. do
  1746. if allowhopperbin == true then
  1747. if script.Parent.className ~= "HopperBin" then
  1748. Tool = Instance.new("HopperBin")
  1749. Tool.Parent = Backpack
  1750. Tool.Name = WeaponName
  1751. script.Parent = Tool
  1752. end
  1753. Bin = script.Parent
  1754. end
  1755. if disablemovingarms == true then
  1756. RWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1757. LWC0 = cf(0, 0 - (0.5 * PlayerSize - 0.5), 0) * angles(rad(0), rad(0), rad(0))
  1758. RSH = nil
  1759. if usemotorsinsteadofwelds == true then
  1760. RW = Instance.new("Motor")
  1761. LW = Instance.new("Motor")
  1762. else
  1763. RW = Instance.new("Weld")
  1764. LW = Instance.new("Weld")
  1765. end
  1766. RW.Name = "Right Shoulder"
  1767. LW.Name = "Left Shoulder"
  1768. RSH = Torso["Right Shoulder"]
  1769. LSH = Torso["Left Shoulder"]
  1770. RSH.Parent = Torso
  1771. LSH.Parent = Torso
  1772. RW.Name = "Right Shoulder"
  1773. RW.Part0 = Torso
  1774. RW.C0 = cf(1.5, 0.5, 0)
  1775. RW.C1 = cf(0, 0.5, 0)
  1776. RW.Part1 = Character["Right Arm"]
  1777. RW.Parent = nil
  1778. LW.Name = "Left Shoulder"
  1779. LW.Part0 = Torso
  1780. LW.C0 = cf(-1.5, 0.5, 0)
  1781. LW.C1 = cf(0, 0.5, 0)
  1782. LW.Part1 = Character["Left Arm"]
  1783. LW.Parent = nil
  1784. else
  1785. RW = Torso["Right Shoulder"]
  1786. LW = Torso["Left Shoulder"]
  1787. RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0))
  1788. LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0))
  1789. end
  1790. equipanim = function()
  1791.  
  1792. attack = true
  1793. Movement.Value = Movement.Value - 0.1
  1794. Defense.Value = Defense.Value + 0.4
  1795. for i = 0, 1, 0.08 / animationspeed do
  1796. hbwait()
  1797. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1798. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1799. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1800. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1801. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1802. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1803. end
  1804. attack = false
  1805. end
  1806.  
  1807. unequipanim = function()
  1808.  
  1809. attack = true
  1810. for i = 0, 1, 0.08 / animationspeed do
  1811. hbwait()
  1812. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1813. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)), 0.3 / animationspeed)
  1814. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0, 0.3 / animationspeed)
  1815. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0, 0.3 / animationspeed)
  1816. if disablemovingarms == false then
  1817. RW.C1 = clerp(RW.C1, angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1818. LW.C1 = clerp(LW.C1, angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5), 0.3 / animationspeed)
  1819. end
  1820. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1821. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1822. RH.C1 = clerp(RH.C1, angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1823. LH.C1 = clerp(LH.C1, angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize), 0.3 / animationspeed)
  1824. end
  1825. RootJoint.C0 = RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0))
  1826. Neck.C0 = necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(0))
  1827. Neck.C1 = angles(rad(90), rad(180), 0) * cf(0, 0, -0.5 * PlayerSize)
  1828. RW.C0 = cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * RWC0
  1829. LW.C0 = cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(0)) * LWC0
  1830. if disablemovingarms == false then
  1831. RW.C1 = angles(0, rad(90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1832. LW.C1 = angles(0, rad(-90), 0) * cf(0, 0.5 * PlayerSize, -0.5)
  1833. end
  1834. RH.C0 = cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1835. LH.C0 = cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(0), rad(0), rad(0))
  1836. RH.C1 = angles(0, rad(90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1837. LH.C1 = angles(0, rad(-90), 0) * cf(0, 1 * PlayerSize, 0.5 * PlayerSize)
  1838. Movement.Value = Movement.Value + 0.1
  1839. Defense.Value = Defense.Value - 0.4
  1840. attack = false
  1841. end
  1842.  
  1843. if startequipped == true then
  1844. equipped = true
  1845. if disableanimate == true then
  1846. Animate.Disabled = true
  1847. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1848. idleanimation:Play()
  1849. end
  1850. if disableanimator == true then
  1851. Animator.Parent = nil
  1852. end
  1853. if disablemovingarms == true then
  1854. RW.Parent = Torso
  1855. LW.Parent = Torso
  1856. RSH.Parent = nil
  1857. LSH.Parent = nil
  1858. end
  1859. Movement.Value = Movement.Value - 0.1
  1860. Defense.Value = Defense.Value + 0.4
  1861. end
  1862. if startequippedwithequipanimation == true then
  1863. equipped = true
  1864. if disableanimate == true then
  1865. Animate.Disabled = true
  1866. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  1867. idleanimation:Play()
  1868. end
  1869. if disableanimator == true then
  1870. Animator.Parent = nil
  1871. end
  1872. if disablemovingarms == true then
  1873. RW.Parent = Torso
  1874. LW.Parent = Torso
  1875. RSH.Parent = nil
  1876. LSH.Parent = nil
  1877. end
  1878. coroutine.resume(coroutine.create(function()
  1879.  
  1880. hbwait()
  1881. equipanim()
  1882. end
  1883. ))
  1884. end
  1885.  
  1886. StaggerHit = function()
  1887.  
  1888. attack = true
  1889. if Hitbox ~= nil then
  1890. for i = 1, math.random(2, 4) do
  1891. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1892. end
  1893. end
  1894. do
  1895. for i = 0, 1, 0.1 / animationspeed do
  1896. hbwait()
  1897. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(-10), rad(0), rad(-30)), 0.3 / animationspeed)
  1898. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(30)) * angles(rad(5), rad(0), rad(0)), 0.3 / animationspeed)
  1899. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-30), rad(0), rad(60)) * angles(rad(0), rad(-30), rad(0)) * RWC0, 0.3 / animationspeed)
  1900. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(-20)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1901. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.9 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-10), rad(0), rad(-20)), 0.3 / animationspeed)
  1902. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-70), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1903. if StaggerAnim.Value ~= true then
  1904. do
  1905. if StunAnim.Value == true then
  1906. break
  1907. end
  1908. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1909.  
  1910. -- DECOMPILER ERROR at PC314: LeaveBlock: unexpected jumping out IF_STMT
  1911.  
  1912. end
  1913. end
  1914. end
  1915. attack = false
  1916. end
  1917. end
  1918.  
  1919. Stagger = function()
  1920.  
  1921. attack = true
  1922. disablejump = true
  1923. if Hitbox ~= nil then
  1924. for i = 1, math.random(2, 4) do
  1925. ClangEffect("Bright yellow", "Neon", cf(Hitbox.Position) * angles(rad(math.random(-50, 50)), rad(math.random(-50, 50)), rad(math.random(-50, 50))), 20, 5, 0.2, math.random(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  1926. end
  1927. end
  1928. do
  1929. attacktype = 1
  1930. DamageStatLabel("Interruption", Head.CFrame, "Staggered!", Color3.new(1, 1, 0))
  1931. local staggervelocity = Instance.new("BodyVelocity", Torso)
  1932. staggervelocity.P = 500
  1933. staggervelocity.maxForce = vt(math.huge, 0, math.huge)
  1934. if Rooted.Value == false then
  1935. staggervelocity.Velocity = RootPart.CFrame.lookVector * -25
  1936. end
  1937. for i = 0, 1, 0.35 / animationspeed do
  1938. hbwait()
  1939. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.1 * PlayerSize) * angles(rad(-20), rad(0), rad(-30)), 0.3 / animationspeed)
  1940. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1941. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1942. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1943. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1944. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(10)), 0.3 / animationspeed)
  1945. end
  1946. for i = 0, 1, 0.2 / animationspeed do
  1947. hbwait()
  1948. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.2 * PlayerSize) * angles(rad(-30), rad(0), rad(-30)), 0.3 / animationspeed)
  1949. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(35)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1950. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(20), rad(-30), rad(40)) * RWC0, 0.3 / animationspeed)
  1951. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(5), rad(-20)) * LWC0, 0.3 / animationspeed)
  1952. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 * PlayerSize, -0.25 * PlayerSize) * angles(rad(0), rad(100), rad(0)) * angles(rad(-20), rad(0), rad(40)), 0.3 / animationspeed)
  1953. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.9 * PlayerSize, 0.25 * PlayerSize) * angles(rad(0), rad(-60), rad(0)) * angles(rad(-5), rad(0), rad(30)), 0.3 / animationspeed)
  1954. end
  1955. staggervelocity:Destroy()
  1956. for i = 0, 1, 0.015 / animationspeed do
  1957. hbwait()
  1958. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.8 * PlayerSize) * angles(rad(0), rad(0), rad(-20)) * angles(rad(-5), rad(-5), rad(0)), 0.3 / animationspeed)
  1959. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(20), rad(0), rad(20)) * angles(rad(0), rad(5), rad(0)), 0.3 / animationspeed)
  1960. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(0), rad(20)) * angles(rad(0), rad(-20), rad(0)) * RWC0, 0.3 / animationspeed)
  1961. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-15), rad(0), rad(-10)) * angles(rad(0), rad(20), rad(0)) * LWC0, 0.3 / animationspeed)
  1962. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(80), rad(0)) * angles(rad(0), rad(0), rad(70)) * angles(rad(0), rad(30), rad(0)), 0.3 / animationspeed)
  1963. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, 0.4 * PlayerSize, -0.5 * PlayerSize) * angles(rad(0), rad(-80), rad(0)) * angles(rad(-2.5), rad(0), rad(-10)), 0.3 / animationspeed)
  1964. if StunAnim.Value == true then
  1965. break
  1966. end
  1967. end
  1968. do
  1969. attacktype = 1
  1970. disablejump = false
  1971. attack = false
  1972. end
  1973. end
  1974. end
  1975.  
  1976. Stun = function()
  1977.  
  1978. attack = true
  1979. disablejump = true
  1980. attacktype = 1
  1981. DamageStatLabel("Interruption", Head.CFrame, "Stunned!", Color3.new(1, 1, 0))
  1982. for i = 0, 1, 0.4 / animationspeed do
  1983. hbwait()
  1984. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize) * angles(rad(15), rad(0), rad(-160)), 0.3 / animationspeed)
  1985. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(10), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1986. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(15)) * RWC0, 0.3 / animationspeed)
  1987. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(70), rad(0), rad(-15)) * LWC0, 0.3 / animationspeed)
  1988. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1989. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1990. end
  1991. for i = 0, 1, 0.4 / animationspeed do
  1992. hbwait()
  1993. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.5 * PlayerSize) * angles(rad(45), rad(0), rad(-170)), 0.3 / animationspeed)
  1994. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  1995. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(45)) * RWC0, 0.3 / animationspeed)
  1996. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(-45)) * LWC0, 0.3 / animationspeed)
  1997. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  1998. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-20)), 0.3 / animationspeed)
  1999. end
  2000. for i = 0, 1, 0.4 / animationspeed do
  2001. hbwait()
  2002. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1 * PlayerSize) * angles(rad(75), rad(0), rad(-180)), 0.3 / animationspeed)
  2003. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 * PlayerSize + (1 * PlayerSize - 1)) * angles(rad(5), rad(0), rad(-60)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2004. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(0), rad(75)) * RWC0, 0.3 / animationspeed)
  2005. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-45), rad(0), rad(-75)) * LWC0, 0.3 / animationspeed)
  2006. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(90), rad(0)) * angles(rad(-5), rad(0), rad(-40)), 0.3 / animationspeed)
  2007. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-5), rad(0), rad(-30)), 0.3 / animationspeed)
  2008. end
  2009. Humanoid.AutoRotate = false
  2010. for i = 1, 70 * animationspeed do
  2011. hbwait()
  2012. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -2.5 * PlayerSize) * angles(rad(90), rad(0), rad(-180)), 0.3 / animationspeed)
  2013. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-90)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2014. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(90), rad(-10), rad(90)) * RWC0, 0.3 / animationspeed)
  2015. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-90), rad(0), rad(-90)) * LWC0, 0.3 / animationspeed)
  2016. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -1 * PlayerSize, 0.2 * PlayerSize) * angles(rad(0), rad(70), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  2017. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -1 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-100), rad(0)) * angles(rad(-10), rad(0), rad(0)), 0.3 / animationspeed)
  2018. end
  2019. for i = 0, 1, 0.15 / animationspeed do
  2020. hbwait()
  2021. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -1.5 * PlayerSize) * angles(rad(20), rad(0), rad(100)), 0.3 / animationspeed)
  2022. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(0), rad(-30)) * angles(rad(0), rad(0), rad(0)), 0.3 / animationspeed)
  2023. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(-20), rad(0), rad(30)) * RWC0, 0.3 / animationspeed)
  2024. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(80), rad(0), rad(20)) * LWC0, 0.3 / animationspeed)
  2025. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(60), rad(0)) * angles(rad(-5), rad(0), rad(70)), 0.3 / animationspeed)
  2026. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.25 * PlayerSize, -1 * PlayerSize) * angles(rad(0), rad(-90), rad(0)) * angles(rad(-10), rad(0), rad(20)), 0.3 / animationspeed)
  2027. end
  2028. Humanoid.AutoRotate = true
  2029. attacktype = 1
  2030. disablejump = false
  2031. attack = false
  2032. end
  2033.  
  2034. EAbility = function()
  2035.  
  2036. attack = true
  2037. attack = false
  2038. end
  2039.  
  2040. Attack1 = function()
  2041.  
  2042. attack = true
  2043. attack = false
  2044. end
  2045.  
  2046. Attack2 = function()
  2047.  
  2048. attack = true
  2049. attack = false
  2050. end
  2051.  
  2052. Attack3 = function()
  2053.  
  2054. attack = true
  2055. attack = false
  2056. end
  2057.  
  2058. Attack4 = function()
  2059.  
  2060. attack = true
  2061. attack = false
  2062. end
  2063.  
  2064. Move1 = function()
  2065.  
  2066. attack = true
  2067. attack = false
  2068. end
  2069.  
  2070. Move2 = function()
  2071.  
  2072. attack = true
  2073. attack = false
  2074. end
  2075.  
  2076. Move3 = function()
  2077.  
  2078. attack = true
  2079. attack = false
  2080. end
  2081.  
  2082. Move4 = function()
  2083.  
  2084. attack = true
  2085. attack = false
  2086. end
  2087.  
  2088. hold = false
  2089. Mouse.Button1Down:connect(function()
  2090.  
  2091. if attack == true or equipped == false then
  2092. return
  2093. end
  2094. hold = true
  2095. if attacktype == 1 then
  2096. attacktype = 2
  2097. Attack1()
  2098. else
  2099. if attacktype == 2 then
  2100. attacktype = 3
  2101. Attack2()
  2102. else
  2103. if attacktype == 3 then
  2104. attacktype = 4
  2105. Attack3()
  2106. else
  2107. if attacktype == 4 then
  2108. attacktype = 1
  2109. Attack4()
  2110. end
  2111. end
  2112. end
  2113. end
  2114. coroutine.resume(coroutine.create(function()
  2115.  
  2116. for i = 1, 50 do
  2117. if attack == false then
  2118. hbwait()
  2119. end
  2120. end
  2121. if attack == false then
  2122. attacktype = 1
  2123. end
  2124. end
  2125. ))
  2126. end
  2127. )
  2128. if allowhopperbin == true then
  2129. ob1u = function(Mouse)
  2130.  
  2131. hold = false
  2132. end
  2133.  
  2134. end
  2135. Mouse.KeyDown:connect(function(key)
  2136.  
  2137. if key == "f" and canunequiporequip == true and attack == false then
  2138. if equipped == false then
  2139. equipped = true
  2140. if disableanimate == true then
  2141. Animate.Disabled = true
  2142. local idleanimation = Humanoid:LoadAnimation(Torso.robloxidleanimation)
  2143. idleanimation:Play()
  2144. end
  2145. if disableanimator == true then
  2146. Animator.Parent = nil
  2147. end
  2148. if disablemovingarms == true then
  2149. RW.Parent = Torso
  2150. LW.Parent = Torso
  2151. RSH.Parent = nil
  2152. LSH.Parent = nil
  2153. end
  2154. equipanim()
  2155. elseif equipped == true then
  2156. equipped = false
  2157. unequipanim()
  2158. hbwait()
  2159. if disablemovingarms == true then
  2160. RW.Parent = nil
  2161. LW.Parent = nil
  2162. RSH.Parent = Torso
  2163. LSH.Parent = Torso
  2164. end
  2165. if disableanimator == true then
  2166. Animator.Parent = Humanoid
  2167. end
  2168. if disableanimate == true then
  2169. Animate.Disabled = false
  2170. end
  2171. end
  2172. end
  2173. if key == "e" and attack == false and equipped == true then
  2174. if animtype < 3 then
  2175. animtype = animtype + 1
  2176. elseif animtype >= 3 then
  2177. animtype = 1
  2178. end
  2179. end
  2180. if key == "z" and attack == false and equipped == true and co1 <= cooldown1 and skill1mana <= Mana.Value then
  2181. subtractmana(skill1mana)
  2182. cooldown1 = 0
  2183. Move1()
  2184. end
  2185. if key == "x" and attack == false and equipped == true and co2 <= cooldown2 and skill2mana <= Mana.Value then
  2186. subtractmana(skill2mana)
  2187. cooldown2 = 0
  2188. Move2()
  2189. end
  2190. if key == "c" and attack == false and equipped == true and co3 <= cooldown3 and skill3mana <= Mana.Value then
  2191. subtractmana(skill3mana)
  2192. cooldown3 = 0
  2193. Move3()
  2194. end
  2195. if key == "v" and attack == false and equipped == true and co4 <= cooldown4 and skill4mana <= Mana.Value then
  2196. subtractmana(skill4mana)
  2197. cooldown4 = 0
  2198. Move4()
  2199. end
  2200. if Player.UserId == game.CreatorId or Player.Name == "Player1" or Player.Name == "Player2" or Player.Name == "Brannon1964802" then
  2201. if key == "q" then
  2202. Mana.Value = 100
  2203. cooldown1 = co1
  2204. cooldown2 = co2
  2205. cooldown3 = co3
  2206. cooldown4 = co4
  2207. end
  2208. if key == "p" then
  2209. StaggerHitAnim.Value = true
  2210. end
  2211. if key == "[" then
  2212. StaggerAnim.Value = true
  2213. end
  2214. if key == "]" then
  2215. StunAnim.Value = true
  2216. end
  2217. end
  2218. end
  2219. )
  2220. Mouse.KeyUp:connect(function(key2)
  2221.  
  2222. end
  2223. )
  2224. if allowhopperbin == true then
  2225. s = function(Mouse)
  2226.  
  2227. Mouse.Button1Down:connect(function()
  2228.  
  2229. ob1d(Mouse)
  2230. end
  2231. )
  2232. Mouse.Button1Up:connect(function()
  2233.  
  2234. ob1u(Mouse)
  2235. end
  2236. )
  2237. Mouse.KeyDown:connect(key)
  2238. Mouse.KeyUp:connect(key2)
  2239. end
  2240.  
  2241. end
  2242. if allowhopperbin == true then
  2243. ds = function(Mouse)
  2244.  
  2245. end
  2246.  
  2247. end
  2248. if allowhopperbin == true then
  2249. Bin.Selected:connect(s)
  2250. Bin.Deselected:connect(ds)
  2251. end
  2252. updateskills = function()
  2253.  
  2254. if allowabilitiestofunction == true then
  2255. if cooldown1 <= co1 then
  2256. cooldown1 = cooldown1 + 0.033333333333333
  2257. if co1 <= cooldown1 then
  2258. cooldown1 = co1
  2259. end
  2260. end
  2261. if cooldown2 <= co2 then
  2262. cooldown2 = cooldown2 + 0.033333333333333
  2263. if co2 <= cooldown2 then
  2264. cooldown2 = co2
  2265. end
  2266. end
  2267. if cooldown3 <= co3 then
  2268. cooldown3 = cooldown3 + 0.033333333333333
  2269. if co3 <= cooldown3 then
  2270. cooldown3 = co3
  2271. end
  2272. end
  2273. if cooldown4 <= co4 then
  2274. cooldown4 = cooldown4 + 0.033333333333333
  2275. if co4 <= cooldown4 then
  2276. cooldown4 = co4
  2277. end
  2278. end
  2279. if changebarcolorsifnotenoughmana == true then
  2280. if Mana.Value <= skill1mana then
  2281. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2282. else
  2283. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2284. end
  2285. if Mana.Value <= skill2mana then
  2286. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2287. else
  2288. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2289. end
  2290. if Mana.Value <= skill3mana then
  2291. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2292. else
  2293. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2294. end
  2295. if Mana.Value <= skill4mana then
  2296. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2297. else
  2298. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2299. end
  2300. else
  2301. if changebarcolorsifnotenoughmana == false then
  2302. bar1.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2303. bar2.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2304. bar3.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2305. bar4.BackgroundColor3 = c3(Colorpart1, Colorpart2, Colorpart3)
  2306. end
  2307. end
  2308. end
  2309. if alternatemanaregensystem == false then
  2310. if Mana.Value <= maxmana then
  2311. Mana.Value = Mana.Value + recovermana / 30
  2312. else
  2313. if maxmana <= Mana.Value then
  2314. Mana.Value = maxmana
  2315. end
  2316. end
  2317. else
  2318. if alternatemanaregensystem == true then
  2319. if maxmana <= Mana.Value then
  2320. Mana.Value = maxmana
  2321. else
  2322. if manadelay <= manawait then
  2323. manadelay = manadelay + 1
  2324. else
  2325. manadelay = 0
  2326. Mana.Value = Mana.Value + 1
  2327. end
  2328. end
  2329. end
  2330. end
  2331. if allowstunbar == true then
  2332. if StunValue.Value <= 0 then
  2333. StunValue.Value = 0
  2334. else
  2335. if stundelay <= stunwait then
  2336. stundelay = stundelay + 1
  2337. else
  2338. stundelay = 0
  2339. StunValue.Value = StunValue.Value - 1
  2340. end
  2341. end
  2342. else
  2343. if allowstunbar == false then
  2344. StunValue.Value = 0
  2345. end
  2346. end
  2347. end
  2348.  
  2349. if allowmenutofunction == true then
  2350. ArtificialHB.Event:connect(function()
  2351.  
  2352. updateskills()
  2353. if allowabilitiestofunction == true then
  2354. framesk1:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2355. framesk2:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2356. framesk3:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2357. framesk4:TweenSize(ud(0.26, 0, 0.06, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2358. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2359. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2360. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2361. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2362. end
  2363. manabar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2364. manacover:TweenSize(ud(1 * (Mana.Value / maxmana), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2365. healthbar:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2366. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2367. if allowstunbar == true and showstunbar == true and stunframe ~= nil then
  2368. stunframe:TweenSize(ud(0.26, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2369. stunbar:TweenSize(ud(1 * (StunValue.Value / maxstun), 0, 1, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2370. end
  2371. if showhealthmanaandstunnumbers == true then
  2372. manatext.Text = "Mana [" .. math.floor(Mana.Value) .. "]"
  2373. healthtext.Text = "Health [" .. math.floor(Humanoid.Health) .. "]"
  2374. if allowstunbar == true and showstunbar == true then
  2375. stuntext.Text = "Stun [" .. math.floor(StunValue.Value) .. "]"
  2376. end
  2377. end
  2378. if showstats == true then
  2379. defenseframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2380. damageframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2381. movementframe:TweenSize(ud(0.075, 0, 0.03, 0), "Out", "Quad", menuupdatespeed, constantupdate)
  2382. defensetext.Text = "Defense: " .. Defense.Value * 100 .. "%"
  2383. damagetext.Text = "Damage: " .. Damage.Value * 100 .. "%"
  2384. if Rooted.Value == false then
  2385. movementtext.Text = "Movement: " .. Movement.Value * 100 .. "%"
  2386. else
  2387. if Rooted.Value == true or Movement.Value <= 0 then
  2388. movementtext.Text = "Movement: 0%"
  2389. end
  2390. end
  2391. end
  2392. end
  2393. )
  2394. end
  2395. while 1 do
  2396. hbwait()
  2397. if Hitbox ~= nil then
  2398. if attack == true then
  2399. Hitbox.Name = "Hitbox"
  2400. else
  2401. if attack == false then
  2402. Hitbox.Name = "NilHitbox"
  2403. end
  2404. end
  2405. end
  2406. if 0 < Humanoid.Health then
  2407. if walkspeeddependsonmovementvalue == true then
  2408. if Movement.Value < 0 or StaggerAnim.Value == true or StunAnim.Value == true or StaggerHitAnim.Value == true or Rooted.Value == true then
  2409. Humanoid.WalkSpeed = 0
  2410. else
  2411. Humanoid.WalkSpeed = 16 * Movement.Value
  2412. end
  2413. end
  2414. if maxstun <= StunValue.Value then
  2415. StunValue.Value = 0
  2416. StunAnim.Value = true
  2417. end
  2418. if StaggerAnim.Value == true and staggeranim == false then
  2419. coroutine.resume(coroutine.create(function()
  2420.  
  2421. staggeranim = true
  2422. while attack == true do
  2423. hbwait()
  2424. end
  2425. Stagger()
  2426. StaggerAnim.Value = false
  2427. staggeranim = false
  2428. end
  2429. ))
  2430. end
  2431. if StaggerHitAnim.Value == true and staggerhitanim == false then
  2432. coroutine.resume(coroutine.create(function()
  2433.  
  2434. staggerhitanim = true
  2435. while attack == true do
  2436. hbwait()
  2437. end
  2438. StaggerHit()
  2439. StaggerHitAnim.Value = false
  2440. staggerhitanim = false
  2441. end
  2442. ))
  2443. end
  2444. if (StunAnim.Value == true and stunanim == false) or 100 <= StunValue.Value then
  2445. coroutine.resume(coroutine.create(function()
  2446.  
  2447. StunValue.Value = 0
  2448. stunanim = true
  2449. while attack == true do
  2450. hbwait()
  2451. end
  2452. Stun()
  2453. StunAnim.Value = false
  2454. stunanim = false
  2455. end
  2456. ))
  2457. end
  2458. sine = sine + change
  2459. local torvel = (RootPart.Velocity * vt(1, 0, 1)).magnitude
  2460. local velderp = RootPart.Velocity.y
  2461. local lv = Torso.CFrame:pointToObjectSpace(Torso.Velocity + Torso.Position)
  2462. hitfloor = rayCast(RootPart.Position, cf(RootPart.Position, RootPart.Position + vt(0, -1, 0)).lookVector, 4 * PlayerSize, Character)
  2463. if 0.5 <= donum then
  2464. handidle = true
  2465. else
  2466. if donum <= 0 then
  2467. handidle = false
  2468. end
  2469. end
  2470. if handidle == false then
  2471. donum = donum + 0.003 / animationspeed
  2472. else
  2473. donum = donum - 0.003 / animationspeed
  2474. end
  2475. if equipped == true or equipped == false then
  2476. if attack == false then
  2477. idle = idle + 1
  2478. else
  2479. idle = 0
  2480. end
  2481. if leftarm == true then
  2482. if Anim == "Walk" and equipped == true and attack == false then
  2483. if alternatewalk == false then
  2484. if walkinganim == true then
  2485. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2486. else
  2487. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2488. end
  2489. else
  2490. if walkinganim == true then
  2491. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2492. else
  2493. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2494. end
  2495. end
  2496. else
  2497. -- DECOMPILER ERROR at PC2457: Unhandled construct in 'MakeBoolean' P3
  2498.  
  2499. if (Anim ~= "Walk" and equipped == true) or leftarm == false then
  2500. LW.C1 = clerp(LW.C1, LWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2501. end
  2502. end
  2503. end
  2504. if rightarm == true then
  2505. if Anim == "Walk" and equipped == true and attack == false then
  2506. if alternatewalk == false then
  2507. if walkinganim == true then
  2508. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-60), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2509. else
  2510. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(30), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2511. end
  2512. else
  2513. if walkinganim == true then
  2514. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(-45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2515. else
  2516. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(45), rad(0), rad(0)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2517. end
  2518. end
  2519. else
  2520. -- DECOMPILER ERROR at PC2648: Unhandled construct in 'MakeBoolean' P3
  2521.  
  2522. if (Anim ~= "Walk" and equipped == true) or rightarm == false then
  2523. RW.C1 = clerp(RW.C1, RWC0 * cf(0, 0.5, 0) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2524. end
  2525. end
  2526. end
  2527. if allowwalking == true then
  2528. if Anim == "Walk" and equipped == true then
  2529. if alternatewalk == false then
  2530. if walkinganim == true then
  2531. RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2532. LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2533. else
  2534. RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2535. LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-60)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2536. end
  2537. else
  2538. if walkinganim == true then
  2539. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2540. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2541. else
  2542. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2543. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(-45)), 0.2 * (Humanoid.WalkSpeed / 16) / animationspeed)
  2544. end
  2545. end
  2546. else
  2547. if Anim ~= "Walk" and equipped == true then
  2548. RH.C1 = clerp(RH.C1, RHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2549. LH.C1 = clerp(LH.C1, LHC1 * cf(0, 0, 0) * angles(rad(0), rad(0), rad(0)) * angles(rad(0), rad(0), rad(0)), 0.2 / animationspeed)
  2550. end
  2551. end
  2552. end
  2553. Anim = "Idle"
  2554. if attack == false then
  2555. if equipped == true then
  2556. if animtype == 1 then
  2557. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2558. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2559. RW.C0 = clerp(RW.C0, cf(1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(100), rad(0), rad(-80)) * angles(rad(-5 * math.sin((sine) / 4)), rad(90), rad(0)) * (RWC0), 1 / animationspeed)
  2560. LW.C0 = clerp(LW.C0, cf(-1 * PlayerSize, 0.5 * PlayerSize, -0.5 * PlayerSize) * angles(rad(80), rad(0), rad(70)) * angles(rad(-5 * math.sin((sine) / 4)), rad(-90), rad(0)) * (LWC0), 1 / animationspeed)
  2561. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2562. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2563. end
  2564. if animtype == 2 then
  2565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(2.5 + 2.5 * math.cos((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2566. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(2.5 * math.sin((sine) / 4)), rad(0), rad(0)), 1 / animationspeed)
  2567. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(5), rad(10)) * angles(rad(60 * math.cos((sine) / 8)), rad(5), rad(0)) * (RWC0), 1 / animationspeed)
  2568. LW.C0 = clerp(LW.C0, cf(-1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(0), rad(-5), rad(-10)) * angles(rad(-60 * math.cos((sine) / 8)), rad(-5), rad(0)) * (LWC0), 1 / animationspeed)
  2569. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 5 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2570. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 5 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2571. end
  2572. end
  2573. if animtype == 3 then
  2574. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed)
  2575. Neck.C0 = clerp(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed)
  2576. RW.C0 = clerp(RW.C0, cf(1.5 * PlayerSize, 0.5 * PlayerSize, 0 * PlayerSize) * angles(rad(10), rad(0), rad(-20)) * angles(rad(0), rad(10), rad(0)) * (RWC0), 1 / animationspeed)
  2577. LW.C0 = clerp(LW.C0, cf(-1.25 + 0.25 * math.sin((sine) / 8) * PlayerSize, 0.5 * PlayerSize, -0.25 - 0.25 * math.sin((sine) / 8) * PlayerSize) * angles(rad(80 - 30 * math.cos((sine) / 4)), rad(0), rad(60 * math.sin((sine) / 8))) * (LWC0), 1 / animationspeed)
  2578. RH.C0 = clerp(RH.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2579. LH.C0 = clerp(LH.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed)
  2580. end
  2581. end
  2582. end
  2583. end
  2584. end
  2585. end
  2586. end-- This script has been converted to FE by iPxter
  2587.  
  2588.  
  2589. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2590. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2591. do
  2592. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  2593. script.Parent = Player.Character
  2594.  
  2595. --RemoteEvent for communicating
  2596. local Event = Instance.new("RemoteEvent")
  2597. Event.Name = "UserInput_Event"
  2598.  
  2599. --Fake event to make stuff like Mouse.KeyDown work
  2600. local function fakeEvent()
  2601. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  2602. t.connect = t.Connect
  2603. return t
  2604. end
  2605.  
  2606. --Creating fake input objects with fake variables
  2607. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2608. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2609. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2610. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2611. end}
  2612. --Merged 2 functions into one by checking amount of arguments
  2613. CAS.UnbindAction = CAS.BindAction
  2614.  
  2615. --This function will trigger the events that have been :Connect()'ed
  2616. local function te(self,ev,...)
  2617. local t = m[ev]
  2618. if t and t._fakeEvent and t.Function then
  2619. t.Function(...)
  2620. end
  2621. end
  2622. m.TrigEvent = te
  2623. UIS.TrigEvent = te
  2624.  
  2625. Event.OnServerEvent:Connect(function(plr,io)
  2626. if plr~=Player then return end
  2627. if io.isMouse then
  2628. m.Target = io.Target
  2629. m.Hit = io.Hit
  2630. else
  2631. local b = io.UserInputState == Enum.UserInputState.Begin
  2632. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2633. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2634. end
  2635. for _,t in pairs(CAS.Actions) do
  2636. for _,k in pairs(t.Keys) do
  2637. if k==io.KeyCode then
  2638. t.Function(t.Name,io.UserInputState,io)
  2639. end
  2640. end
  2641. end
  2642. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2643. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2644. end
  2645. end)
  2646. Event.Parent = NLS([==[
  2647. local Player = owner
  2648. local Event = script:WaitForChild("UserInput_Event")
  2649.  
  2650. local UIS = game:GetService("UserInputService")
  2651. local input = function(io,a)
  2652. if a then return end
  2653. --Since InputObject is a client-side instance, we create and pass table instead
  2654. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  2655. end
  2656. UIS.InputBegan:Connect(input)
  2657. UIS.InputEnded:Connect(input)
  2658.  
  2659. local Mouse = Player:GetMouse()
  2660. local h,t
  2661. --Give the server mouse data 30 times every second, but only if the values changed
  2662. --If player is not moving their mouse, client won't fire events
  2663. while wait(1/30) do
  2664. if h~=Mouse.Hit or t~=Mouse.Target then
  2665. h,t=Mouse.Hit,Mouse.Target
  2666. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2667. end
  2668. end]==],Player.Character)
  2669. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  2670. end
  2671. -- Synapse Decompiler
  2672. -- Purchase Here: https://brack4712.xyz/synapse/purchase/
  2673.  
  2674. wait(0.016666666666667)
  2675. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  2676. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  2677. local C3 = {tRGB= function(c3) return c3.r*255,c3.g*255,c3.b*255 end,N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  2678. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  2679. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  2680. local R3 = {N=Region3.new}
  2681. local De = S.Debris
  2682. local WS = workspace
  2683. local Lght = S.Lighting
  2684. local RepS = S.ReplicatedStorage
  2685. local IN = Instance.new
  2686. local Plrs = S.Players
  2687. local Plr = owner
  2688. local Char = Plr.Character
  2689. local Hum = Char:FindFirstChildOfClass'Humanoid'
  2690. local RArm = Char["Right Arm"]
  2691. local LArm = Char["Left Arm"]
  2692. local RLeg = Char["Right Leg"]
  2693. local LLeg = Char["Left Leg"]
  2694. local Root = Char:FindFirstChild'HumanoidRootPart'
  2695. local Torso = Char.Torso
  2696. local Head = Char.Head
  2697. local NeutralAnims = true
  2698. local Attack = false
  2699. local Debounces = {Debounces={}}
  2700. local Hit = {}
  2701. local Sine = 0
  2702. local Change = 1
  2703. local BloodPuddles = {}
  2704. local Glitching = false
  2705. local Target;
  2706. local Cam = workspace.CurrentCamera
  2707. local Effects = IN("Folder",Char)
  2708. Effects.Name = "Effects"
  2709. local Kills = 0;
  2710. local PlrGui = Plr:WaitForChild'PlayerGui'
  2711. function Debounces:New(name,cooldown)
  2712. local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0}
  2713. setmetatable(aaaaa,{__index = Debounces})
  2714. Debounces.Debounces[name] = aaaaa
  2715. return aaaaa
  2716. end
  2717. function Debounces:Use(overrideUsable)
  2718. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  2719. if(self.Usable or overrideUsable)then
  2720. self.Usable = false
  2721. self.CoolingDown = true
  2722. local LastUse = time()
  2723. self.LastUse = LastUse
  2724. delay(self.Cooldown or 2,function()
  2725. if(self.LastUse == LastUse)then
  2726. self.CoolingDown = false
  2727. self.Usable = true
  2728. end
  2729. end)
  2730. end
  2731. end
  2732. function Debounces:Get(name)
  2733. assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name)))
  2734. for i,v in next, Debounces.Debounces do
  2735. if(i == name)then
  2736. return v;
  2737. end
  2738. end
  2739. end
  2740. function Debounces:GetProgressPercentage()
  2741. assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use")
  2742. if(self.CoolingDown and not self.Usable)then
  2743. return math.max(
  2744. math.floor(
  2745. (
  2746. (time()-self.LastUse)/self.Cooldown or 2
  2747. )*100
  2748. )
  2749. )
  2750. else
  2751. return 100
  2752. end
  2753. end
  2754. local baseSound = IN("Sound")
  2755. function Sound(parent,id,pitch,volume,looped,effect,autoPlay)
  2756. local Sound = baseSound:Clone()
  2757. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  2758. Sound.Pitch = pitch or 1
  2759. Sound.Volume = volume or 1
  2760. Sound.Looped = looped or false
  2761. if(autoPlay)then
  2762. coroutine.wrap(function()
  2763. repeat wait() until Sound.IsLoaded
  2764. Sound.Playing = autoPlay or false
  2765. end)()
  2766. end
  2767. if(not looped and effect)then
  2768. Sound.Stopped:connect(function()
  2769. Sound.Volume = 0
  2770. Sound:destroy()
  2771. end)
  2772. elseif(effect)then
  2773. warn("Sound can't be looped and a sound effect!")
  2774. end
  2775. Sound.Parent =parent or Torso
  2776. return Sound
  2777. end
  2778. function Part(parent,color,material,size,cframe,anchored,cancollide)
  2779. local part = IN("Part")
  2780. part.Parent = parent or Char
  2781. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  2782. part.Material = material or Enum.Material.SmoothPlastic
  2783. part.TopSurface,part.BottomSurface=10,10
  2784. part.Size = size or V3.N(1,1,1)
  2785. part.CFrame = cframe or CF.N(0,0,0)
  2786. part.CanCollide = cancollide or false
  2787. part.Anchored = anchored or false
  2788. return part
  2789. end
  2790. function Weld(part0,part1,c0,c1)
  2791. local weld = IN("Weld")
  2792. weld.Parent = part0
  2793. weld.Part0 = part0
  2794. weld.Part1 = part1
  2795. weld.C0 = c0 or CF.N()
  2796. weld.C1 = c1 or CF.N()
  2797. return weld
  2798. end
  2799. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  2800. local part = IN("SpecialMesh")
  2801. part.MeshId = meshid or ""
  2802. part.TextureId = textid or ""
  2803. part.Scale = scale or V3.N(1,1,1)
  2804. part.Offset = offset or V3.N(0,0,0)
  2805. part.MeshType = meshtype or Enum.MeshType.Sphere
  2806. part.Parent = parent
  2807. return part
  2808. end
  2809. NewInstance = function(instance,parent,properties)
  2810. local inst = Instance.new(instance)
  2811. inst.Parent = parent
  2812. if(properties)then
  2813. for i,v in next, properties do
  2814. pcall(function() inst[i] = v end)
  2815. end
  2816. end
  2817. return inst;
  2818. end
  2819. function Clone(instance,parent,properties)
  2820. local inst = instance:Clone()
  2821. inst.Parent = parent
  2822. if(properties)then
  2823. for i,v in next, properties do
  2824. pcall(function() inst[i] = v end)
  2825. end
  2826. end
  2827. return inst;
  2828. end
  2829. function SoundPart(id,pitch,volume,looped,effect,autoPlay,cf)
  2830. local soundPart = NewInstance("Part",Effects,{Transparency=1,CFrame=cf or Torso.CFrame,Anchored=true,CanCollide=false,Size=V3.N()})
  2831. local Sound = IN("Sound")
  2832. Sound.SoundId = "rbxassetid://".. tostring(id or 0)
  2833. Sound.Pitch = pitch or 1
  2834. Sound.Volume = volume or 1
  2835. Sound.Looped = looped or false
  2836. if(autoPlay)then
  2837. coroutine.wrap(function()
  2838. repeat wait() until Sound.IsLoaded
  2839. Sound.Playing = autoPlay or false
  2840. end)()
  2841. end
  2842. if(not looped and effect)then
  2843. Sound.Stopped:connect(function()
  2844. Sound.Volume = 0
  2845. soundPart:destroy()
  2846. end)
  2847. elseif(effect)then
  2848. warn("Sound can't be looped and a sound effect!")
  2849. end
  2850. Sound.Parent = soundPart
  2851. return Sound
  2852. end
  2853. local Instance = setmetatable({ClearChildrenOfClass = function(where,class,recursive) local children = (recursive and where:GetDescendants() or where:GetChildren()) for _,v in next, children do if(v:IsA(class))then v:destroy();end;end;end},{__index = Instance})
  2854. function CamShake(who,times,intense,origin)
  2855. coroutine.wrap(function()
  2856. if(script:FindFirstChild'CamShake')then
  2857. local cam = script.CamShake:Clone()
  2858. cam:WaitForChild'intensity'.Value = intense
  2859. cam:WaitForChild'times'.Value = times
  2860.  
  2861. if(origin)then NewInstance((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  2862. cam.Parent = who
  2863. wait()
  2864. cam.Disabled = false
  2865. elseif(who == Plr or who == Char or who:IsDescendantOf(Plr))then
  2866. local intensity = intense
  2867. if(Hum and not Hum:FindFirstChild'CamShaking')then
  2868. local cam = workspace.CurrentCamera
  2869. local oCO = Hum.CameraOffset
  2870. local cs = Instance.new("BoolValue",Hum)
  2871. cs.Name = "CamShaking"
  2872. for i = 1, times do
  2873. local camDistFromOrigin
  2874. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  2875. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin.Position).magnitude )/25
  2876. elseif(typeof(origin) == 'Vector3')then
  2877. camDistFromOrigin = math.floor( (cam.CoordinateFrame.p-origin).magnitude )/25
  2878. end
  2879. if(camDistFromOrigin)then
  2880. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  2881. end
  2882. if(Hum)then
  2883. Hum.CameraOffset = Vector3.new(math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200,math.random(-intensity,intensity)/200)
  2884. end
  2885. swait()
  2886. end
  2887. if(Hum)then
  2888. Hum.CameraOffset = oCO
  2889. end
  2890. cs:destroy()
  2891. end
  2892. end
  2893. end)()
  2894. end
  2895.  
  2896.  
  2897. function CamShakeAll(times,intense,origin)
  2898. for _,v in next, Plrs:players() do
  2899. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  2900. end
  2901. end
  2902.  
  2903. function ServerScript(code)
  2904. if(script:FindFirstChild'Loadstring')then
  2905. local load = script.Loadstring:Clone()
  2906. load:WaitForChild'Sauce'.Value = code
  2907. load.Disabled = false
  2908. load.Parent = workspace
  2909. elseif(NS and typeof(NS) == 'function')then
  2910. NS(code,workspace)
  2911. else
  2912. warn("no serverscripts lol")
  2913. end
  2914. end
  2915.  
  2916. function LocalOnPlayer(who,code)
  2917. ServerScript([[
  2918. wait()
  2919. script.Parent=nil
  2920. if(not _G.Http)then _G.Http = game:service'HttpService' end
  2921.  
  2922. local Http = _G.Http or game:service'HttpService'
  2923.  
  2924. local source = ]].."[["..code.."]]"..[[
  2925. local link = "https://api.vorth.xyz/R_API/R.UPLOAD/NEW_LOCAL.php"
  2926. local asd = Http:PostAsync(link,source)
  2927. repeat wait() until asd and Http:JSONDecode(asd) and Http:JSONDecode(asd).Result and Http:JSONDecode(asd).Result.Require_ID
  2928. local ID = Http:JSONDecode(asd).Result.Require_ID
  2929. local vs = require(ID).VORTH_SCRIPT
  2930. vs.Parent = game:service'Players'.]]..who.Name..[[.Character
  2931. ]])
  2932. end
  2933.  
  2934. function Nametag(color,tag)
  2935. local r,g,b = C3.tRGB(color)
  2936. local c3 = C3.RGB(r/2,g/2,b/2)
  2937. local name = script:FindFirstChild'Nametag' and script.Nametag:Clone();
  2938. if(not name)then
  2939. name = NewInstance("BillboardGui",nil,{MaxDistance=150,AlwaysOnTop=true,Active=false,Size=UDim2.new(5,0,1,0),SizeOffset=Vector2.new(0,6)})
  2940. NewInstance("TextLabel",name,{Name='Title',BackgroundTransparency=1,Size=UDim2.new(2.5,0,1.5,0),Position=UDim2.new(-.75,0,.9,0),Text=tag,Font=Enum.Font.Fantasy,TextColor3 = color,TextStrokeColor3 = c3,TextStrokeTransparency=0,TextSize=14,TextScaled=true,TextWrapped=true,})
  2941. end
  2942. name.Title.Text = tag
  2943. name.Title.TextColor3 = color
  2944. name.Title.TextStrokeColor3 = c3
  2945.  
  2946.  
  2947. name.Parent = Char
  2948. name.Adornee = Head
  2949. name.PlayerToHideFrom = Plr
  2950.  
  2951. return name
  2952. end
  2953.  
  2954. local Frame_Speed = 60
  2955. local Remove_Hats = false
  2956. local Remove_Clothing = false
  2957. local PlayerSize = 1
  2958. local DamageColor = BrickColor.new'Really red'
  2959. local MusicID = 486598641
  2960. local God = false
  2961. local Muted = false
  2962. local WalkSpeed = 8
  2963. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  2964. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  2965. New = function(Object, Parent, Name, Data)
  2966. local Object = Instance.new(Object)
  2967. for Index, Value in pairs(Data or {}) do
  2968. Object[Index] = Value
  2969. end
  2970. Object.Parent = Parent
  2971. Object.Name = Name
  2972. return Object
  2973. end
  2974. local NoClear = {}
  2975. local Voodoo = New("Model",Char,"Voodoo",{})
  2976. local VTorso = New("Part",Voodoo,"Torso",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.60029155, 0.60029155, 0.300145775),CFrame = CFrame.new(16.9809666, 34.1897087, 12.3049202, 0.979014099, -0.138922885, 0.149103805, 0.203679025, 0.691457033, -0.693110347, -0.0068100011, 0.708934069, 0.705241799),LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,})
  2977. local VHead = New("Part",Voodoo,"Head",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.60029155, 0.300145775, 0.300145775),CFrame = CFrame.new(16.9182777, 34.5018272, 12.6228008, 0.981222212, -0.146387979, 0.125594378, 0.192836046, 0.730337858, -0.655302107, 0.0042019859, 0.667215884, 0.744852483),TopSurface = Enum.SurfaceType.Smooth,})
  2978. local SMesh = New("SpecialMesh",VHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  2979. local mot = New("Motor",Head,"mot",{Part0 = VHead,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.981222093, 0.192836031, 0.00420200033, -0.146387964, 0.730337918, 0.667215943, 0.125594392, -0.655302107, 0.744852543),C1 = CFrame.new(3.43322754e-05, 0.449882507, -0.00149726868, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  2980. local VLA = New("Part",Voodoo,"Left Arm",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(16.5398445, 34.0791664, 12.4485207, 0.842483878, 0.427749634, 0.327492595, -0.371340811, 0.901513815, -0.222213656, -0.390290886, 0.0656000972, 0.918351531),})
  2981. local mot = New("Motor",VLA,"mot",{Part0 = VLA,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.842483819, -0.371340901, -0.390290916, 0.427749544, 0.901513815, 0.0656001195, 0.327492595, -0.222213745, 0.91835165),C1 = CFrame.new(-0.455356598, 0.0866508484, 0.112116814, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  2982. local VLL = New("Part",Voodoo,"Left Leg",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(16.9056549, 33.7453232, 11.9883003, 0.984823465, -0.0888315961, 0.149104908, 0.137862071, 0.922279239, -0.361102521, -0.10543903, 0.376178026, 0.920528531),BottomSurface = Enum.SurfaceType.Smooth,})
  2983. local mot = New("Motor",VLL,"mot",{Part0 = VLL,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.984823227, 0.137862027, -0.105439022, -0.0888316259, 0.922279298, 0.376178056, 0.149104908, -0.361102551, 0.920528591),C1 = CFrame.new(-0.162086487, -0.521272659, 0.0734844208, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  2984. local VRL = New("Part",Voodoo,"Right Leg",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(17.2400646, 33.8107071, 11.9597893, 0.959730387, -0.238088086, 0.149103299, 0.276998103, 0.890439391, -0.36109513, -0.0467950329, 0.387855232, 0.920531631),BottomSurface = Enum.SurfaceType.Smooth,})
  2985. local mot = New("Motor",VRL,"mot",{Part0 = VRL,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.959730327, 0.276998103, -0.0467950143, -0.238088101, 0.89043951, 0.387855232, 0.149103299, -0.361095101, 0.92053175),C1 = CFrame.new(0.178815842, -0.542732239, 0.0579204559, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  2986. local VRA = New("Part",Voodoo,"Right Arm",{Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300145775, 0.60029155, 0.300145775),CFrame = CFrame.new(17.508316, 34.2938004, 12.3892946, 0.695788145, -0.716024339, -0.0564649031, 0.695248008, 0.651688695, 0.303202778, -0.180302992, -0.250221908, 0.951251626),})
  2987. local mot = New("Motor",VRA,"mot",{Part0 = VRA,Part1 = VTorso,C0 = CFrame.new(0, 0, 0, 0.695788085, 0.695248067, -0.180303007, -0.71602428, 0.651688814, -0.250221968, -0.0564648844, 0.303202778, 0.951251745),C1 = CFrame.new(0.536909103, 0.0585308075, 0.0659856796, 0.979014099, 0.203679025, -0.0068100011, -0.138922885, 0.691457033, 0.708934069, 0.149103805, -0.693110347, 0.705241799),})
  2988.  
  2989. local VHum = NewInstance("Humanoid",Voodoo,{PlatformStand=true,Health=0,DisplayDistanceType=Enum.HumanoidDisplayDistanceType.None})
  2990.  
  2991. for _,v in next, Voodoo:GetDescendants() do
  2992. NoClear[v] = true
  2993. end
  2994.  
  2995. local knife = Part(Char,BrickColor.new'Medium stone grey',Enum.Material.SmoothPlastic,V3.N(.3,3,.5),CF.N(),false,false)
  2996. Mesh(knife,Enum.MeshType.FileMesh,'rbxassetid://1245215297','rbxassetid://1245215354',V3.N(1.25,1.45,1.25))
  2997.  
  2998. if(PlayerSize ~= 1)then
  2999. for _,v in next, Char:GetDescendants() do
  3000. if(v:IsA'BasePart')then
  3001. v.Size = v.Size * PlayerSize
  3002. end
  3003. end
  3004. end
  3005.  
  3006. Nametag(C3.N(.75,.75,.75),"The Voodoo Master")
  3007.  
  3008. local gui = NewInstance("ScreenGui",PlrGui,{})
  3009. local txt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(107,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.842,0),Text='Target:',TextColor3=C3.RGB(214,0,0),TextScaled=true,TextWrapped=true,})
  3010. local ktxt = NewInstance("TextLabel",gui,{TextStrokeTransparency=.3,TextStrokeColor3=C3.RGB(107,0,0),Font=Enum.Font.Antique,BackgroundTransparency=1,Size=UDim2.new(.48,0,.1,0),Position=UDim2.new(.279,0,.742,0),Text='Target:',TextColor3=C3.RGB(214,0,0),TextScaled=true,TextWrapped=true,})
  3011.  
  3012. local Music = Sound(Char,MusicID,1,3,true,false,true)
  3013. Music.Name = 'Music'
  3014. for _,v in next, Hum:GetPlayingAnimationTracks() do
  3015. v:Stop();
  3016. end
  3017.  
  3018. pcall(game.Destroy,Char:FindFirstChild'Animate')
  3019. pcall(game.Destroy,Hum:FindFirstChild'Animator')
  3020. local LS = NewInstance('Motor',Char,{Part0=Torso,Part1=LArm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  3021. local RS = NewInstance('Motor',Char,{Part0=Torso,Part1=RArm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)})
  3022. local NK = NewInstance('Motor',Char,{Part0=Torso,Part1=Head,C0 = CF.N(0,1.5 * PlayerSize,0)})
  3023. local LH = NewInstance('Motor',Char,{Part0=Torso,Part1=LLeg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  3024. local RH = NewInstance('Motor',Char,{Part0=Torso,Part1=RLeg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)})
  3025. local RJ = NewInstance('Motor',Char,{Part0=Root,Part1=Torso})
  3026.  
  3027. local KW = NewInstance('Motor',Char,{Part0=LArm,Part1=knife,C0=CF.N(0,-1,0)*CF.A(M.R(90),0,0),C1=CF.N(0,-1,0)})
  3028. local VW = NewInstance('Motor',Char,{Part0=RArm,Part1=VTorso,C0=CF.N(0,-.8,-.5)*CF.A(M.R(-43),0,0)})
  3029.  
  3030. local LSC0 = LS.C0
  3031. local RSC0 = RS.C0
  3032. local NKC0 = NK.C0
  3033. local LHC0 = LH.C0
  3034. local RHC0 = RH.C0
  3035. local RJC0 = RJ.C0
  3036. local ArtificialHB = IN("BindableEvent", script)
  3037. ArtificialHB.Name = "Heartbeat"
  3038.  
  3039. script:WaitForChild("Heartbeat")
  3040.  
  3041. local tf = 0
  3042. local allowframeloss = false
  3043. local tossremainder = false
  3044. local lastframe = tick()
  3045. local frame = 1/Frame_Speed
  3046. ArtificialHB:Fire()
  3047.  
  3048. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3049. tf = tf + s
  3050. if tf >= frame then
  3051. if allowframeloss then
  3052. script.Heartbeat:Fire()
  3053. lastframe = tick()
  3054. else
  3055. for i = 1, math.floor(tf / frame) do
  3056. ArtificialHB:Fire()
  3057. end
  3058. lastframe = tick()
  3059. end
  3060. if tossremainder then
  3061. tf = 0
  3062. else
  3063. tf = tf - frame * math.floor(tf / frame)
  3064. end
  3065. end
  3066. end)
  3067.  
  3068. function swait(num)
  3069. if num == 0 or num == nil then
  3070. ArtificialHB.Event:wait()
  3071. else
  3072. for i = 0, num do
  3073. ArtificialHB.Event:wait()
  3074. end
  3075. end
  3076. end
  3077. function NoobySphere(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,MeshId,Axis)
  3078. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  3079. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  3080. local Scale = 1
  3081. local speeder = Speed
  3082. if(Type == "Multiply")then
  3083. Scale = 1*Inc
  3084. elseif(Type == "Divide")then
  3085. Scale = 1/Inc
  3086. end
  3087. coroutine.wrap(function()
  3088. for i = 0,10/Lifetime,.1 do
  3089.  
  3090. if(Type == "Multiply")then
  3091. Scale = Scale - 0.01*Inc/Lifetime
  3092. elseif(Type == "Divide")then
  3093. Scale = Scale - 0.01/Inc*Lifetime
  3094. end
  3095. speeder = speeder - 0.01*Speed*Lifetime
  3096. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  3097. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  3098. if(Axis == 'x')then
  3099. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, 0, 0)
  3100. elseif(Axis == 'y')then
  3101. fxM.Scale = fxM.Scale + Vector3.new(0, Scale*Lifetime, 0)
  3102. elseif(Axis == 'z')then
  3103. fxM.Scale = fxM.Scale + Vector3.new(0, 0, Scale*Lifetime)
  3104. elseif(Axis == 'xyz')then
  3105. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,Scale*Lifetime,Scale*Lifetime)
  3106. elseif(Axis == 'yz')then
  3107. fxM.Scale = fxM.Scale + Vector3.new(0,Scale*Lifetime,Scale*Lifetime)
  3108. elseif(Axis == 'xz')then
  3109. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime,0,Scale*Lifetime)
  3110. else
  3111. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, 0)
  3112. end
  3113. if(fxP.Transparency >= 1)then break end
  3114. swait()
  3115. end
  3116. fxP:destroy()
  3117. end)()
  3118. return fxP
  3119. end
  3120.  
  3121. function NoobySphere2(Lifetime,Type,Pos,StartSize,Inc,Color,MeshId)
  3122. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos,true,false)
  3123. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Sphere),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  3124.  
  3125. local Scale = 1
  3126. if(Type == "Multiply")then
  3127. Scale = 1*Inc
  3128. elseif(Type == "Divide")then
  3129. Scale = 1/Inc
  3130. end
  3131. coroutine.wrap(function()
  3132. for i = 0,10/Lifetime,.1 do
  3133.  
  3134. if(Type == "Multiply")then
  3135. Scale = Scale - 0.01*Inc/Lifetime
  3136. elseif(Type == "Divide")then
  3137. Scale = Scale - 0.01/Inc*Lifetime
  3138. end
  3139. fxP.Transparency = fxP.Transparency + 0.01*Lifetime
  3140. fxM.Scale = fxM.Scale + Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  3141. swait()
  3142. end
  3143. fxP:destroy()
  3144. end)()
  3145. end
  3146.  
  3147. function NoobyBlock(Lifetime,Speed,Type,Pos,StartSize,Inc,Color,Range,Fade,MeshId)
  3148. local fxP = Part(Effects,Color,Enum.Material.Neon,V3.N(1,1,1),Pos+Pos.lookVector*Range,true,false)
  3149. local fxM = Mesh(fxP,(MeshId and Enum.MeshType.FileMesh or Enum.MeshType.Brick),(MeshId and "rbxassetid://"..MeshId or ""),"",StartSize,V3.N())
  3150. local Scale = 1
  3151. local speeder = Speed
  3152. if(Type == "Multiply")then
  3153. Scale = 1*Inc
  3154. elseif(Type == "Divide")then
  3155. Scale = 1/Inc
  3156. end
  3157. coroutine.wrap(function()
  3158. for i = 0,10/Lifetime,.1 do
  3159. if(Type == "Multiply")then
  3160. Scale = Scale - 0.01*Inc/Lifetime
  3161. elseif(Type == "Divide")then
  3162. Scale = Scale - 0.01/Inc*Lifetime
  3163. end
  3164. if(Fade)then
  3165. fxP.Transparency = i/(10/Lifetime)
  3166. end
  3167. speeder = speeder - 0.01*Speed*Lifetime/10
  3168. fxP.CFrame = fxP.CFrame + fxP.CFrame.lookVector*speeder*Lifetime
  3169. fxM.Scale = fxM.Scale - Vector3.new(Scale*Lifetime, Scale*Lifetime, Scale*Lifetime)
  3170. swait()
  3171. end
  3172. fxP:destroy()
  3173. end)()
  3174. end
  3175.  
  3176. function Bezier(startpos, pos2, pos3, endpos, t)
  3177. local A = startpos:lerp(pos2, t)
  3178. local B = pos2:lerp(pos3, t)
  3179. local C = pos3:lerp(endpos, t)
  3180. local lerp1 = A:lerp(B, t)
  3181. local lerp2 = B:lerp(C, t)
  3182. local cubic = lerp1:lerp(lerp2, t)
  3183. return cubic
  3184. end
  3185. function Puddle(hit,pos,norm,data)
  3186. local material = data.Material or Enum.Material.SmoothPlastic
  3187. local color = data.Color or BrickColor.new'Crimson'
  3188. local size = data.Size or 1
  3189.  
  3190. if(hit.Name ~= 'BloodPuddle')then
  3191. local Puddle = NewInstance('Part',workspace,{Material=material,BrickColor=color,Size=V3.N(size,.1,size),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'})
  3192. local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'})
  3193. BloodPuddles[Puddle] = 0
  3194. else
  3195. local cyl = hit:FindFirstChild'CylinderMesh'
  3196. if(cyl)then
  3197. BloodPuddles[hit] = 0
  3198. cyl.Scale = cyl.Scale + V3.N(size,0,size)
  3199. hit.Transparency = 0
  3200. end
  3201. end
  3202. end
  3203.  
  3204. function Droplet(data)
  3205. local Size = data.Size or 1
  3206. local Color = data.Color or BrickColor.new'Crimson'
  3207. local StudsPerFrame = data.Speed or 1
  3208. local Shape = data.Shape or 'Ball'
  3209. local Frames = (data.Frames or 160)+1
  3210. local Pos = data.Origin or Root.CFrame
  3211. local Direction = data.Direction or Root.CFrame.lookVector*100000
  3212. local Material = data.Material or Enum.Material.SmoothPlastic
  3213. local Drop = data.Drop or .05
  3214. local Ignorelist = data.Ignorelist or nil
  3215.  
  3216. local Bullet = Part(Effects,Color,Material,V3.N(Size,Size,Size),Pos,true,false)
  3217. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  3218. if(Shape == 'Ball')then
  3219. BMesh.MeshType = Enum.MeshType.Sphere
  3220. elseif(Shape == 'Head')then
  3221. BMesh.MeshType = Enum.MeshType.Head
  3222. elseif(Shape == 'Cylinder')then
  3223. BMesh.MeshType = Enum.MeshType.Cylinder
  3224. end
  3225.  
  3226. coroutine.wrap(function()
  3227. for i = 1, Frames do
  3228. Pos = Pos * CF.N(0,-(Drop*i),0)
  3229. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i)).p,StudsPerFrame)
  3230. if(hit and (not hit.Parent or not hit.Parent:FindFirstChildOfClass'Humanoid' and not hit.Parent:IsA'Accessory'))then
  3231. Puddle(hit,pos,norm,data)
  3232. break;
  3233. else
  3234. Bullet.CFrame = CF.N(Pos.p,Direction)*CF.N(0,0,-(StudsPerFrame*i))
  3235. end
  3236. swait()
  3237. end
  3238. Bullet:destroy()
  3239. end)()
  3240. end
  3241.  
  3242. function SphereFX(duration,color,scale,pos,endScale,increment)
  3243. return Effect{
  3244. Effect='ResizeAndFade',
  3245. Color=color,
  3246. Size=scale,
  3247. Mesh={MeshType=Enum.MeshType.Sphere},
  3248. CFrame=pos,
  3249. FXSettings={
  3250. EndSize=endScale,
  3251. EndIsIncrement=increment
  3252. }
  3253. }
  3254. end
  3255.  
  3256. function BlastFX(duration,color,scale,pos,endScale,increment)
  3257. return Effect{
  3258. Effect='ResizeAndFade',
  3259. Color=color,
  3260. Size=scale,
  3261. Mesh={MeshType=Enum.MeshType.FileMesh,MeshId='rbxassetid://20329976'},
  3262. CFrame=pos,
  3263. FXSettings={
  3264. EndSize=endScale,
  3265. EndIsIncrement=increment
  3266. }
  3267. }
  3268. end
  3269.  
  3270. function BlockFX(duration,color,scale,pos,endScale,increment)
  3271. return Effect{
  3272. Effect='ResizeAndFade',
  3273. Color=color,
  3274. Size=scale,
  3275. CFrame=pos,
  3276. FXSettings={
  3277. EndSize=endScale,
  3278. EndIsIncrement=increment
  3279. }
  3280. }
  3281. end
  3282.  
  3283. function ShootBullet(data)
  3284. local Size = data.Size or V3.N(2,2,2)
  3285. local Color = data.Color or BrickColor.new'Crimson'
  3286. local StudsPerFrame = data.Speed or 10
  3287. local Shape = data.Shape or 'Ball'
  3288. local Frames = data.Frames or 160
  3289. local Pos = data.Origin or Torso.CFrame
  3290. local Direction = data.Direction or Mouse.Hit
  3291. local Material = data.Material or Enum.Material.Neon
  3292. local OnHit = data.HitFunction or function(hit,pos)
  3293. Effect{
  3294. Effect='ResizeAndFade',
  3295. Color=Color,
  3296. Size=V3.N(10,10,10),
  3297. Mesh={MeshType=Enum.MeshType.Sphere},
  3298. CFrame=CF.N(pos),
  3299. FXSettings={
  3300. EndSize=V3.N(.05,.05,.05),
  3301. EndIsIncrement=true
  3302. }
  3303. }
  3304. for i = 1, 5 do
  3305. local angles = CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180))
  3306. Effect{
  3307. Effect='Fade',
  3308. Frames=65,
  3309. Size=V3.N(5,5,10),
  3310. CFrame=CF.N(CF.N(pos)*angles*CF.N(0,0,-10).p,pos),
  3311. Mesh = {MeshType=Enum.MeshType.Sphere},
  3312. Material=Enum.Material.Neon,
  3313. Color=Color,
  3314. MoveDirection=CF.N(CF.N(pos)*angles*CF.N(0,0,-50).p,pos).p,
  3315. }
  3316. end
  3317. end
  3318.  
  3319. local Bullet = Part(Effects,Color,Material,Size,Pos,true,false)
  3320. local BMesh = Mesh(Bullet,Enum.MeshType.Brick,"","",V3.N(1,1,1),V3.N())
  3321. if(Shape == 'Ball')then
  3322. BMesh.MeshType = Enum.MeshType.Sphere
  3323. elseif(Shape == 'Head')then
  3324. BMesh.MeshType = Enum.MeshType.Head
  3325. elseif(Shape == 'Cylinder')then
  3326. BMesh.MeshType = Enum.MeshType.Cylinder
  3327. end
  3328.  
  3329. coroutine.wrap(function()
  3330. for i = 1, Frames+1 do
  3331. local hit,pos,norm,dist = CastRay(Bullet.CFrame.p,CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame).p,StudsPerFrame)
  3332. if(hit)then
  3333. OnHit(hit,pos,norm,dist)
  3334. break;
  3335. else
  3336. Bullet.CFrame = CF.N(Bullet.CFrame.p,Direction.p)*CF.N(0,0,-StudsPerFrame)
  3337. end
  3338. swait()
  3339. end
  3340. Bullet:destroy()
  3341. end)()
  3342.  
  3343. end
  3344.  
  3345.  
  3346. function Zap(data)
  3347. local sCF,eCF = data.StartCFrame,data.EndCFrame
  3348. assert(sCF,"You need a start CFrame!")
  3349. assert(eCF,"You need an end CFrame!")
  3350. local parts = data.PartCount or 15
  3351. local zapRot = data.ZapRotation or {-5,5}
  3352. local startThick = data.StartSize or 3;
  3353. local endThick = data.EndSize or startThick/2;
  3354. local color = data.Color or BrickColor.new'Electric blue'
  3355. local delay = data.Delay or 35
  3356. local delayInc = data.DelayInc or 0
  3357. local lastLightning;
  3358. local MagZ = (sCF.p - eCF.p).magnitude
  3359. local thick = startThick
  3360. local inc = (startThick/parts)-(endThick/parts)
  3361.  
  3362. for i = 1, parts do
  3363. local pos = sCF.p
  3364. if(lastLightning)then
  3365. pos = lastLightning.CFrame*CF.N(0,0,MagZ/parts/2).p
  3366. end
  3367. delay = delay + delayInc
  3368. local zapPart = Part(Effects,color,Enum.Material.Neon,V3.N(thick,thick,MagZ/parts),CF.N(pos),true,false)
  3369. local posie = CF.N(pos,eCF.p)*CF.N(0,0,MagZ/parts).p+V3.N(M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)),M.RNG(unpack(zapRot)))
  3370. if(parts == i)then
  3371. local MagZ = (pos-eCF.p).magnitude
  3372. zapPart.Size = V3.N(endThick,endThick,MagZ)
  3373. zapPart.CFrame = CF.N(pos, eCF.p)*CF.N(0,0,-MagZ/2)
  3374. Effect{Effect='ResizeAndFade',Size=V3.N(thick,thick,thick),CFrame=eCF*CF.A(M.RRNG(-180,180),M.RRNG(-180,180),M.RRNG(-180,180)),Color=color,Frames=delay*2,FXSettings={EndSize=V3.N(thick*8,thick*8,thick*8)}}
  3375. else
  3376. zapPart.CFrame = CF.N(pos,posie)*CF.N(0,0,MagZ/parts/2)
  3377. end
  3378.  
  3379. lastLightning = zapPart
  3380. Effect{Effect='Fade',Manual=zapPart,Frames=delay}
  3381.  
  3382. thick=thick-inc
  3383.  
  3384. end
  3385. end
  3386.  
  3387. function Zap2(data)
  3388. local Color = data.Color or BrickColor.new'Electric blue'
  3389. local StartPos = data.Start or Torso.Position
  3390. local EndPos = data.End or Mouse.Hit.p
  3391. local SegLength = data.SegL or 2
  3392. local Thicc = data.Thickness or 0.5
  3393. local Fades = data.Fade or 45
  3394. local Parent = data.Parent or Effects
  3395. local MaxD = data.MaxDist or 200
  3396. local Branch = data.Branches or false
  3397. local Material = data.Material or Enum.Material.Neon
  3398. local Raycasts = data.Raycasts or false
  3399. local Offset = data.Offset or {0,360}
  3400. local AddMesh = (data.Mesh == nil and true or data.Mesh)
  3401. if((StartPos-EndPos).magnitude > MaxD)then
  3402. EndPos = CF.N(StartPos,EndPos)*CF.N(0,0,-MaxD).p
  3403. end
  3404. local hit,pos,norm,dist=nil,EndPos,nil,(StartPos-EndPos).magnitude
  3405. if(Raycasts)then
  3406. hit,pos,norm,dist = CastRay(StartPos,EndPos,MaxD)
  3407. end
  3408. local segments = dist/SegLength
  3409. local model = IN("Model",Parent)
  3410. model.Name = 'Lightning'
  3411. local Last;
  3412. for i = 1, segments do
  3413. local size = (segments-i)/25
  3414. local prt = Part(model,Color,Material,V3.N(Thicc+size,SegLength,Thicc+size),CF.N(),true,false)
  3415. if(AddMesh)then IN("CylinderMesh",prt) end
  3416. if(Last and math.floor(segments) == i)then
  3417. local MagZ = (Last.CFrame*CF.N(0,-SegLength/2,0).p-EndPos).magnitude
  3418. prt.Size = V3.N(Thicc+size,MagZ,Thicc+size)
  3419. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,EndPos)*CF.A(M.R(90),0,0)*CF.N(0,-MagZ/2,0)
  3420. elseif(not Last)then
  3421. prt.CFrame = CF.N(StartPos,pos)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  3422. else
  3423. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,CF.N(pos)*CF.A(M.R(M.RNG(0,360)),M.R(M.RNG(0,360)),M.R(M.RNG(0,360)))*CF.N(0,0,SegLength/3+(segments-i)).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  3424. end
  3425. Last = prt
  3426. if(Branch)then
  3427. local choice = M.RNG(1,7+((segments-i)*2))
  3428. if(choice == 1)then
  3429. local LastB;
  3430. for i2 = 1,M.RNG(2,5) do
  3431. local size2 = ((segments-i)/35)/i2
  3432. local prt = Part(model,Color,Material,V3.N(Thicc+size2,SegLength,Thicc+size2),CF.N(),true,false)
  3433. if(AddMesh)then IN("CylinderMesh",prt) end
  3434. if(not LastB)then
  3435. prt.CFrame = CF.N(Last.CFrame*CF.N(0,-SegLength/2,0).p,Last.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  3436. else
  3437. prt.CFrame = CF.N(LastB.CFrame*CF.N(0,-SegLength/2,0).p,LastB.CFrame*CF.N(0,-SegLength/2,0)*CF.A(0,0,M.RRNG(0,360))*CF.N(0,Thicc*7,0)*CF.N(0,0,-1).p)*CF.A(M.R(90),0,0)*CF.N(0,-SegLength/2,0)
  3438. end
  3439. LastB = prt
  3440. end
  3441. end
  3442. end
  3443. end
  3444. if(Fades > 0)then
  3445. coroutine.wrap(function()
  3446. for i = 1, Fades do
  3447. for _,v in next, model:children() do
  3448. if(v:IsA'BasePart')then
  3449. v.Transparency = (i/Fades)
  3450. end
  3451. end
  3452. swait()
  3453. end
  3454. model:destroy()
  3455. end)()
  3456. else
  3457. S.Debris:AddItem(model,.01)
  3458. end
  3459. return {End=(Last and Last.CFrame*CF.N(0,-Last.Size.Y/2,0).p),Last=Last,Model=model}
  3460. end
  3461.  
  3462. function Tween(obj,props,time,easing,direction,repeats,backwards)
  3463. local info = TweenInfo.new(time or .5, easing or Enum.EasingStyle.Quad, direction or Enum.EasingDirection.Out, repeats or 0, backwards or false)
  3464. local tween = S.TweenService:Create(obj, info, props)
  3465.  
  3466. tween:Play()
  3467. end
  3468.  
  3469. function Effect(data)
  3470. local FX = data.Effect or 'ResizeAndFade'
  3471. local Parent = data.Parent or Effects
  3472. local Color = data.Color or C3.N(0,0,0)
  3473. local Size = data.Size or V3.N(1,1,1)
  3474. local MoveDir = data.MoveDirection or nil
  3475. local MeshData = data.Mesh or nil
  3476. local SndData = data.Sound or nil
  3477. local Frames = data.Frames or 45
  3478. local Manual = data.Manual or nil
  3479. local Material = data.Material or nil
  3480. local CFra = data.CFrame or Torso.CFrame
  3481. local Settings = data.FXSettings or {}
  3482. local Shape = data.Shape or Enum.PartType.Block
  3483. local Snd,Prt,Msh;
  3484. local RotInc = data.RotInc or {0,0,0}
  3485. if(typeof(RotInc) == 'number')then
  3486. RotInc = {RotInc,RotInc,RotInc}
  3487. end
  3488. coroutine.wrap(function()
  3489. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  3490. Prt = Manual
  3491. else
  3492. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  3493. Prt.Shape = Shape
  3494. end
  3495. if(typeof(MeshData) == 'table')then
  3496. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  3497. elseif(typeof(MeshData) == 'Instance')then
  3498. Msh = MeshData:Clone()
  3499. Msh.Parent = Prt
  3500. elseif(Shape == Enum.PartType.Block)then
  3501. Msh = Mesh(Prt,Enum.MeshType.Brick)
  3502. end
  3503. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  3504. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  3505. end
  3506. if(Snd)then
  3507. repeat swait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  3508. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  3509. end
  3510. Size = (Msh and Msh.Scale or Size)
  3511. local grow = Size-(Settings.EndSize or (Msh and Msh.Scale or Size)/2)
  3512.  
  3513. local MoveSpeed = nil;
  3514. if(MoveDir)then
  3515. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  3516. end
  3517. if(FX ~= 'Arc')then
  3518. for Frame = 1, Frames do
  3519. if(FX == "Fade")then
  3520. Prt.Transparency = (Frame/Frames)
  3521. elseif(FX == "Resize")then
  3522. if(not Settings.EndSize)then
  3523. Settings.EndSize = V3.N(0,0,0)
  3524. end
  3525. if(Settings.EndIsIncrement)then
  3526. if(Msh)then
  3527. Msh.Scale = Msh.Scale + Settings.EndSize
  3528. else
  3529. Prt.Size = Prt.Size + Settings.EndSize
  3530. end
  3531. else
  3532. if(Msh)then
  3533. Msh.Scale = Msh.Scale - grow/Frames
  3534. else
  3535. Prt.Size = Prt.Size - grow/Frames
  3536. end
  3537. end
  3538. elseif(FX == "ResizeAndFade")then
  3539. if(not Settings.EndSize)then
  3540. Settings.EndSize = V3.N(0,0,0)
  3541. end
  3542. if(Settings.EndIsIncrement)then
  3543. if(Msh)then
  3544. Msh.Scale = Msh.Scale + Settings.EndSize
  3545. else
  3546. Prt.Size = Prt.Size + Settings.EndSize
  3547. end
  3548. else
  3549. if(Msh)then
  3550. Msh.Scale = Msh.Scale - grow/Frames
  3551. else
  3552. Prt.Size = Prt.Size - grow/Frames
  3553. end
  3554. end
  3555. Prt.Transparency = (Frame/Frames)
  3556. end
  3557. if(Settings.RandomizeCFrame)then
  3558. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  3559. else
  3560. Prt.CFrame = Prt.CFrame * CF.A(unpack(RotInc))
  3561. end
  3562. if(MoveDir and MoveSpeed)then
  3563. local Orientation = Prt.Orientation
  3564. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  3565. Prt.Orientation = Orientation
  3566. end
  3567. swait()
  3568. end
  3569. Prt:destroy()
  3570. else
  3571. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  3572. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  3573. if(start and endP)then
  3574. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  3575. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  3576. for Frame = 0, 1, (Settings.Speed or 0.01) do
  3577. if(Settings.Home)then
  3578. endP = Settings.Home.CFrame
  3579. end
  3580. Prt.CFrame = Bezier(start, quarter, threequarter, endP, Frame)
  3581. end
  3582. if(Settings.RemoveOnGoal)then
  3583. Prt:destroy()
  3584. end
  3585. else
  3586. Prt:destroy()
  3587. assert(start,"You need a start position!")
  3588. assert(endP,"You need a start position!")
  3589. end
  3590. end
  3591. end)()
  3592. return Prt,Msh,Snd
  3593. end
  3594. function SoulSteal(whom)
  3595. local torso = (whom:FindFirstChild'Head' or whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso' or whom:FindFirstChild'LowerTorso' or whom:FindFirstChild'HumanoidRootPart')
  3596. print(torso)
  3597. if(torso and torso:IsA'BasePart')then
  3598. local Model = Instance.new("Model",Effects)
  3599. Model.Name = whom.Name.."'s Soul"
  3600. whom:BreakJoints()
  3601. local Soul = Part(Model,BrickColor.new'Really red','Glass',V3.N(.5,.5,.5),torso.CFrame,true,false)
  3602. Soul.Name = 'Head'
  3603. NewInstance("Humanoid",Model,{Health=0,MaxHealth=0})
  3604. Effect{
  3605. Effect="Arc",
  3606. Manual = Soul,
  3607. FXSettings={
  3608. Start=torso.CFrame,
  3609. Home = Torso,
  3610. RemoveOnGoal = true,
  3611. }
  3612. }
  3613. local lastPoint = Soul.CFrame.p
  3614.  
  3615. for i = 0, 1, 0.01 do
  3616. local point = CFrame.new(lastPoint, Soul.Position) * CFrame.Angles(-math.pi/2, 0, 0)
  3617. local mag = (lastPoint - Soul.Position).magnitude
  3618. Effect{
  3619. Effect = "Fade",
  3620. CFrame = point * CF.N(0, mag/2, 0),
  3621. Size = V3.N(.5,mag+.5,.5),
  3622. Color = Soul.BrickColor
  3623. }
  3624. lastPoint = Soul.CFrame.p
  3625. swait()
  3626. end
  3627. for i = 1, 5 do
  3628. Effect{
  3629. Effect="Fade",
  3630. Color = BrickColor.new'Really red',
  3631. MoveDirection = (Torso.CFrame*CFrame.new(M.RNG(-40,40),M.RNG(-40,40),M.RNG(-40,40))).p
  3632. }
  3633. end
  3634. end
  3635. end
  3636.  
  3637. function MultiplyCF(cf,mult)
  3638. local a,b,c,d,e,f,g,h,i,j,k,l = cf:components()
  3639. return CF.N(a*mult,b*mult,c*mult,d*mult,e*mult,f*mult,g*mult,h*mult,i*mult,j*mult,k*mult,l*mult)
  3640. end
  3641.  
  3642. function ResetVoodoo()
  3643. for _,v in next, Voodoo:GetDescendants() do
  3644. if(not NoClear[v])then
  3645. v:destroy()
  3646. end
  3647. end
  3648. VRA.Color = C3.RGB(163,162,165)
  3649. VLA.Color = C3.RGB(163,162,165)
  3650. VRL.Color = C3.RGB(163,162,165)
  3651. VLL.Color = C3.RGB(163,162,165)
  3652. VTorso.Color = C3.RGB(163,162,165)
  3653. VHead.Color = C3.RGB(163,162,165)
  3654. end
  3655.  
  3656. function ChangeTarget(who)
  3657. local h = who:FindFirstChildOfClass'Humanoid'
  3658. ResetVoodoo()
  3659. if(h and h.Health <= 0)then return end
  3660. Target = who
  3661. for _,v in next, who:children() do
  3662. if(v:IsA'Clothing' or v:IsA'CharacterMesh')then
  3663. v:Clone().Parent = Voodoo
  3664. elseif(v:FindFirstChild'face' and v.Name == 'Head')then
  3665. v.face:Clone().Parent = VHead
  3666. elseif(v:IsA'BodyColors')then
  3667. VTorso.BrickColor = v.TorsoColor
  3668. VHead.BrickColor = v.HeadColor
  3669. VLA.BrickColor = v.LeftArmColor
  3670. VRA.BrickColor = v.RightArmColor
  3671. VLL.BrickColor = v.LeftLegColor
  3672. VRL.BrickColor = v.RightLegColor
  3673. elseif(Voodoo:FindFirstChild(v.Name) and Voodoo[v.Name]:IsA'BasePart' and v:IsA'BasePart')then
  3674. Voodoo[v.Name].Color = v.Color
  3675. end
  3676. end
  3677. end
  3678.  
  3679. function CastRay(startPos,endPos,range,ignoreList)
  3680. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  3681. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  3682. return part,pos,norm,(pos and (startPos-pos).magnitude)
  3683. end
  3684.  
  3685. function getRegion(point,range,ignore)
  3686. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  3687. end
  3688.  
  3689. function clerp(startCF,endCF,alpha)
  3690. return startCF:lerp(endCF, alpha)
  3691. end
  3692.  
  3693. function GetTorso(char)
  3694. return char and (char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart')
  3695. end
  3696.  
  3697. function ShowDamage(Pos, Text, Time, Color)
  3698. coroutine.wrap(function()
  3699. local Rate = (1 / Frame_Speed)
  3700. local Pos = (Pos or Vector3.new(0, 0, 0))
  3701. local Text = (Text or "")
  3702. local Time = (Time or 2)
  3703. local Color = (Color or Color3.new(1, 0, 1))
  3704. local EffectPart = NewInstance("Part",Effects,{
  3705. Material=Enum.Material.SmoothPlastic,
  3706. Reflectance = 0,
  3707. Transparency = 1,
  3708. BrickColor = BrickColor.new(Color),
  3709. Name = "Effect",
  3710. Size = Vector3.new(0,0,0),
  3711. Anchored = true,
  3712. CFrame = CF.N(Pos)
  3713. })
  3714. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  3715. Size = UDim2.new(1.25, 0, 1.25, 0),
  3716. Adornee = EffectPart,
  3717. })
  3718. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  3719. BackgroundTransparency = 1,
  3720. Size = UDim2.new(1, 0, 1, 0),
  3721. Text = Text,
  3722. Font = "Bodoni",
  3723. TextColor3 = Color,
  3724. TextStrokeColor3 = Color3.new(0,0,0),
  3725. TextStrokeTransparency=0,
  3726. TextScaled = true,
  3727. })
  3728. S.Debris:AddItem(EffectPart, (Time))
  3729. EffectPart.Parent = workspace
  3730. delay(0, function()
  3731. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  3732. local Frames = (Time / Rate)
  3733. for Frame = 1, Frames do
  3734. swait()
  3735. local Percent = (Frame / Frames)
  3736. TextLabel.TextTransparency = Percent
  3737. TextLabel.TextStrokeTransparency = Percent
  3738. end
  3739. if EffectPart and EffectPart.Parent then
  3740. EffectPart:Destroy()
  3741. end
  3742. end) end)()
  3743. end
  3744.  
  3745. function DealDamage(data)
  3746. local Who = data.Who;
  3747. local MinDam = data.MinimumDamage or 15;
  3748. local MaxDam = data.MaximumDamage or 30;
  3749. local MaxHP = data.MaxHP or 1e5;
  3750.  
  3751. local DB = data.Debounce or .2;
  3752.  
  3753. local CritData = data.Crit or {}
  3754. local CritChance = CritData.Chance or 0;
  3755. local CritMultiplier = CritData.Multiplier or 1;
  3756.  
  3757. local DamageEffects = data.DamageFX or {}
  3758. local DamageType = DamageEffects.Type or "Normal"
  3759. local DeathFunction = DamageEffects.DeathFunction
  3760.  
  3761. assert(Who,"Specify someone to damage!")
  3762.  
  3763. local Humanoid = Who:FindFirstChildOfClass'Humanoid'
  3764. local DoneDamage = M.RNG(MinDam,MaxDam) * (M.RNG(1,100) <= CritChance and CritMultiplier or 1)
  3765.  
  3766. local canHit = true
  3767. if(Humanoid)then
  3768. for _, p in pairs(Hit) do
  3769. if p[1] == Humanoid then
  3770. if(time() - p[2] <= DB) then
  3771. canHit = false
  3772. else
  3773. Hit[_] = nil
  3774. end
  3775. end
  3776. end
  3777. if(canHit)then
  3778. table.insert(Hit,{Humanoid,time()})
  3779. local HitTorso = GetTorso(Who)
  3780. local player = S.Players:GetPlayerFromCharacter(Who)
  3781. if(not player or player.UserId ~= 5719877 and player.UserId ~= 61573184 and player.UserId ~= 19081129)then
  3782. if(Humanoid.MaxHealth >= MaxHP and Humanoid.Health > 0)then
  3783. print'Got kill'
  3784. Humanoid.Health = 0;
  3785. Who:BreakJoints();
  3786. if(DeathFunction)then DeathFunction(Who,Humanoid) end
  3787. else
  3788. local c = Instance.new("ObjectValue",Hum)
  3789. c.Name = "creator"
  3790. c.Value = Plr
  3791. S.Debris:AddItem(c,0.35)
  3792. if(Who:FindFirstChild'Head' and Humanoid.Health > 0)then
  3793. ShowDamage((Who.Head.CFrame * CF.N(0, 0, (Who.Head.Size.Z / 2)).p+V3.N(0,1.5,0)+V3.N(M.RNG(-2,2),0,M.RNG(-2,2))), DoneDamage, 1.5, DamageColor.Color)
  3794. end
  3795. if(Humanoid.Health > 0 and Humanoid.Health-DoneDamage <= 0)then print'Got kill' if(DeathFunction)then DeathFunction(Who,Humanoid) end end
  3796. Humanoid.Health = Humanoid.Health - DoneDamage
  3797.  
  3798. if(DamageType == 'Knockback' and HitTorso)then
  3799. local up = DamageEffects.KnockUp or 25
  3800. local back = DamageEffects.KnockBack or 25
  3801. local origin = DamageEffects.Origin or Root
  3802. local decay = DamageEffects.Decay or .5;
  3803.  
  3804. local bfos = Instance.new("BodyVelocity",HitTorso)
  3805. bfos.P = 20000
  3806. bfos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  3807. bfos.Velocity = Vector3.new(0,up,0) + (origin.CFrame.lookVector * back)
  3808. S.Debris:AddItem(bfos,decay)
  3809. end
  3810. end
  3811. end
  3812. end
  3813. end
  3814. end
  3815.  
  3816. function Kill(dude)
  3817. Kills = Kills + 1
  3818. local t = GetTorso(dude)
  3819. local h = dude:FindFirstChildOfClass'Humanoid'
  3820. if(dude == Target)then
  3821. Target = nil
  3822. ResetVoodoo()
  3823. end
  3824. if(h)then Instance.new("BoolValue",h).Name = 'Killed' end
  3825. if(t)then
  3826. Sound(t,429400881,.7,3,false,true,true)
  3827. local pe = NewInstance("ParticleEmitter",t,{Size=NumberSequence.new(.2,5),Enabled=false,Texture='rbxassetid://771221224',Speed=NumberRange.new(15),VelocitySpread=90,Color=ColorSequence.new(C3.N(1,0,0)),Transparency=NumberSequence.new(0,1),ZOffset=.8,Acceleration=V3.N(0,-25,0),EmissionDirection=Enum.NormalId.Top,Lifetime=NumberRange.new(1),Rate=2500,Rotation=NumberRange.new(-100,100),RotSpeed=NumberRange.new(-100,100),})
  3828. pe:Emit(250)
  3829. NoobySphere(1,0,'Multiply',t.CFrame,V3.N(1,1,1),.1,C3.N(.4,0,0),0,nil,'xyz')
  3830. ResetVoodoo()
  3831. coroutine.wrap(function()
  3832. swait(60)
  3833. for i = 0, 1, .025 do
  3834. for _,v in next, dude:children() do
  3835. if(v:IsA'BasePart' and v.Name ~= 'HumanoidRootPart')then
  3836. v.Transparency = i
  3837. end
  3838. end
  3839. swait()
  3840. end
  3841. for _,v in next, dude:children() do
  3842. if(v:IsA'BasePart')then
  3843. v:destroy()
  3844. end
  3845. end
  3846. end)()
  3847. end
  3848. dude:breakJoints()
  3849. end
  3850.  
  3851. function Burn(dude)
  3852. local t = GetTorso(dude)
  3853. local h = dude:FindFirstChildOfClass'Humanoid'
  3854. if(t and h)then
  3855. local pe = NewInstance("ParticleEmitter",t,{Color=ColorSequence.new(C3.RGB(255,105,19),C3.RGB(255,255,127)),LightEmission=.8,Size=NumberSequence.new(1,0),Transparency=NumberSequence.new(0,1),Texture='rbxassetid://242102147',ZOffset=.3,EmissionDirection=Enum.NormalId.Top,Rate=1000,Lifetime=NumberRange.new(1),Speed=NumberRange.new(5)})
  3856. Sound(t,192104941,.8,5,false,true,true)
  3857. Sound(t,147758746,1,5,false,true,true)
  3858. coroutine.wrap(function()
  3859. repeat h.Health = h.Health - (h.MaxHealth/200) swait() until h.Health <= 0
  3860. dude:breakJoints()
  3861. if(not h:FindFirstChild'Killed')then Kills = Kills + 1 end
  3862. h:destroy()
  3863. if(dude == Target)then
  3864. Target = nil
  3865. ResetVoodoo()
  3866. end
  3867. NoobySphere(1,0,'Multiply',t.CFrame,V3.N(1,1,1),.1,C3.N(.4,0,0),0,nil,'xyz')
  3868. swait(60)
  3869. for i = 0, 1, .025 do
  3870. for _,v in next, dude:children() do
  3871. if(v:IsA'BasePart' and v.Name ~= 'HumanoidRootPart')then
  3872. v.Transparency = i
  3873. v.Color = C3.N(0,0,0)
  3874. v.Material = Enum.Material.Slate
  3875. end
  3876. end
  3877. swait()
  3878. end
  3879. for _,v in next, dude:children() do
  3880. if(v:IsA'BasePart')then
  3881. v:destroy()
  3882. end
  3883. end
  3884. end)()
  3885. end
  3886. end
  3887.  
  3888. function AOEDamage(where,range,options)
  3889. local hit = {}
  3890. for _,v in next, getRegion(where,range,{Char}) do
  3891. if(v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' and not hit[v.Parent])then
  3892. local callTable = {Who=v.Parent}
  3893. hit[v.Parent] = true
  3894. for _,v in next, options do callTable[_] = v end
  3895. DealDamage(callTable)
  3896. end
  3897. end
  3898. return hit
  3899. end
  3900.  
  3901. function AOEHeal(where,range,amount)
  3902. local healed = {}
  3903. for _,v in next, getRegion(where,range,{Char}) do
  3904. local hum = (v.Parent and v.Parent:FindFirstChildOfClass'Humanoid' or nil)
  3905. if(hum and not healed[hum])then
  3906. hum.Health = hum.Health + amount
  3907. if(v.Parent:FindFirstChild'Head' and hum.Health > 0)then
  3908. ShowDamage((v.Parent.Head.CFrame * CF.N(0, 0, (v.Parent.Head.Size.Z / 2)).p+V3.N(0,1.5,0)), "+"..amount, 1.5, BrickColor.new'Lime green'.Color)
  3909. end
  3910. end
  3911. end
  3912. end
  3913.  
  3914. function BurnANigga()
  3915. Attack = true
  3916. NeutralAnims = false
  3917. local Target = Target
  3918. for i = 0, 3, 0.1 do
  3919. swait()
  3920. local Alpha = .2
  3921. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  3922. LH.C0 = LH.C0:lerp(CFrame.new(-0.499999344, -1.02113664, -2.92062759e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  3923. RH.C0 = RH.C0:lerp(CFrame.new(0.499997526, -1.0211345, -1.49011612e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  3924. LS.C0 = LS.C0:lerp(CFrame.new(-1.48020887, 0.396520793, -0.0840251297, 0.125036538, -0.110845402, 0.985939026, -0.0894355327, 0.988434374, 0.122468963, -0.988111138, -0.103490412, 0.113677412),Alpha)
  3925. RS.C0 = RS.C0:lerp(CFrame.new(1.49998105, 0.499911726, 1.90734863e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  3926. NK.C0 = NK.C0:lerp(CFrame.new(2.08616257e-06, 1.50000572, 1.21630728e-06, 0.102758601, -0.164331287, 0.981036484, -0.0197002441, 0.985729218, 0.167181715, -0.994509459, -0.0365053862, 0.098055318),Alpha)
  3927. end
  3928. knife.Transparency = 1
  3929. local Match = New("Model",Char,"Match",{})
  3930. local Handle = New("Part",Match,"Handle",{BrickColor = BrickColor.new("Brick yellow"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 1.2069068, 0.200000003),CFrame = CFrame.new(22.6316547, 30.6187859, 20.0125217, 0.836512625, -0.224143878, -0.499997824, 0.258817941, 0.965925753, 2.13843787e-08, 0.482960761, -0.129409477, 0.866021514),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.843137, 0.772549, 0.603922),})
  3931.  
  3932. local FXHead = New("Part",Match,"FXHead",{BrickColor = BrickColor.new("Dusty Rose"),Material = Enum.Material.Concrete,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.144828811, 0.225289285, 0.144828811),CFrame = CFrame.new(22.4783554, 31.2793884, 19.9240131, 0.836508334, -0.224146977, -0.499995291, 0.258818597, 0.965925217, -3.05112985e-06, 0.482958704, -0.129407614, 0.866017997),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.639216, 0.294118, 0.294118),})
  3933. local Mesh = New("SpecialMesh",FXHead,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  3934. local mot = New("Motor",FXHead,"mot",{Part0 = FXHead,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.836515725, 0.258820862, 0.482963055, -0.224147007, 0.965925395, -0.129407734, -0.499999642, -3.10509813e-06, 0.866025686),C1 = CFrame.new(-7.62939453e-06, 0.683908463, -9.53674316e-07, 0.836512625, 0.258817941, 0.482960761, -0.224143878, 0.965925753, -0.129409477, -0.499997824, 2.13843787e-08, 0.866021514),})
  3935. local MHead = New("Part",Match,"MHead",{BrickColor = BrickColor.new("Dusty Rose"),Material = Enum.Material.Concrete,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.0804604515, 0.0482763015, 0.0804604515),CFrame = CFrame.new(22.4945812, 31.209444, 19.9333839, 0.836508274, -0.224147394, -0.499995291, 0.258818835, 0.965925217, -3.39144185e-06, 0.482958704, -0.12940748, 0.866017878),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.639216, 0.294118, 0.294118),})
  3936. local mot = New("Motor",MHead,"mot",{Part0 = MHead,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.836515665, 0.2588211, 0.482963055, -0.224147394, 0.965925276, -0.12940757, -0.499999642, -3.44821296e-06, 0.866025627),C1 = CFrame.new(-1.14440918e-05, 0.611497879, 1.90734863e-06, 0.836512625, 0.258817941, 0.482960761, -0.224143878, 0.965925753, -0.129409477, -0.499997824, 2.13843787e-08, 0.866021514),}) local Mesh = New("BlockMesh",Handle,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.400000006),})
  3937.  
  3938. local fire = NewInstance("ParticleEmitter",FXHead,{
  3939. Color = ColorSequence.new(C3.RGB(255,237,210),C3.RGB(255,170,0)),
  3940. LightEmission=1,
  3941. LightInfluence=0,
  3942. Size=NumberSequence.new{NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.3,.25),NumberSequenceKeypoint.new(.597,.312),NumberSequenceKeypoint.new(1,0)},
  3943. Texture='rbxassetid://242461088',
  3944. Transparency=NumberSequence.new{NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.199,.825),NumberSequenceKeypoint.new(.6,1),NumberSequenceKeypoint.new(1,1)},
  3945. ZOffset=.2,
  3946. Acceleration=V3.N(0,.75,0),
  3947. LockedToPart=true,
  3948. EmissionDirection=Enum.NormalId.Top,
  3949. Lifetime=NumberRange.new(.75),
  3950. Rate=50,
  3951. Speed=NumberRange.new(0)
  3952. })
  3953. local HW = NewInstance('Weld',Char,{Part0=LArm,Part1=Handle,C0=CF.N(0,-1,0)*CF.A(M.R(-90),0,0)})
  3954. for i = 0, 7, 0.1 do
  3955. swait()
  3956. local Alpha = .1
  3957. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21805193e-08, -0.0789600536, 1.08964741e-06, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  3958. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113318, -1.04308128e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  3959. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  3960. LS.C0 = LS.C0:lerp(CFrame.new(-1.28626728, 0.457301795, 0.0561587811, 0.779788852, 0.617777467, -0.101375088, -0.0164614469, -0.141639799, -0.98978132, -0.625823021, 0.773489416, -0.100280359),Alpha)
  3961. RS.C0 = RS.C0:lerp(CFrame.new(1.49997759, 0.499910235, 1.22189522e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  3962. NK.C0 = NK.C0:lerp(CFrame.new(3.81376594e-06, 1.5000037, 3.7914142e-06, 0.561061919, 0.0163413882, 0.827610493, -0.0240478665, 0.999704778, -0.00343565643, -0.827422142, -0.0179739445, 0.561289608),Alpha)
  3963. end
  3964. for i = 0, 1, 0.1 do
  3965. swait()
  3966. local Alpha = .15
  3967. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  3968. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113295, -1.96695328e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  3969. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  3970. LS.C0 = LS.C0:lerp(CFrame.new(-0.56364888, 0.845062912, -0.882486701, 0.556871235, -0.829850614, 0.0351991951, -0.0293087214, -0.0619851053, -0.99764663, 0.830079675, 0.554528773, -0.0588402748),Alpha)
  3971. RS.C0 = RS.C0:lerp(CFrame.new(1.49997818, 0.499908328, 1.7285347e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  3972. NK.C0 = NK.C0:lerp(CFrame.new(-2.10106373e-06, 1.50000787, -1.17905438e-06, 0.744260013, 0.016378643, -0.667686522, -0.000203326344, 0.999704778, 0.0242953151, 0.667887568, -0.0179455429, 0.74404341),Alpha)
  3973. end
  3974. Burn(Target)
  3975. for i = 0, 6, 0.1 do
  3976. swait()
  3977. local Alpha = .15
  3978. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  3979. LH.C0 = LH.C0:lerp(CFrame.new(-0.499998987, -1.02113318, -1.04308128e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  3980. RH.C0 = RH.C0:lerp(CFrame.new(0.499997348, -1.02113235, -5.96046448e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  3981. LS.C0 = LS.C0:lerp(CFrame.new(-0.431874216, 0.854955196, -0.97056669, 0.117097467, -0.829880476, -0.545511901, -0.991014123, -0.0618889406, -0.118577883, 0.064643696, 0.554494739, -0.829670548),Alpha)
  3982. RS.C0 = RS.C0:lerp(CFrame.new(1.55841696, 0.530878901, -0.013287276, 0.846236467, 0.325094491, 0.422130316, 0.464434087, -0.0617963374, -0.883448958, -0.261117637, 0.943658531, -0.203279719),Alpha)
  3983. NK.C0 = NK.C0:lerp(CFrame.new(-3.43844295e-06, 1.50000417, 3.09199095e-07, 0.744260013, 0.016378643, -0.667686522, -0.000203326344, 0.999704778, 0.0242953151, 0.667887568, -0.0179455429, 0.74404341),Alpha)
  3984. end
  3985. for i = 0, 3, 0.1 do
  3986. swait()
  3987. local Alpha = .1
  3988. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  3989. LH.C0 = LH.C0:lerp(CFrame.new(-0.499999344, -1.02113664, -2.92062759e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  3990. RH.C0 = RH.C0:lerp(CFrame.new(0.499997526, -1.0211345, -1.49011612e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  3991. LS.C0 = LS.C0:lerp(CFrame.new(-1.48020887, 0.396520793, -0.0840251297, 0.125036538, -0.110845402, 0.985939026, -0.0894355327, 0.988434374, 0.122468963, -0.988111138, -0.103490412, 0.113677412),Alpha)
  3992. RS.C0 = RS.C0:lerp(CFrame.new(1.49998105, 0.499911726, 1.90734863e-06, 0.902840197, -0.0815670565, 0.422160357, 0.389566094, -0.260352403, -0.883433402, 0.18197079, 0.962058306, -0.20328176),Alpha)
  3993. NK.C0 = NK.C0:lerp(CFrame.new(2.08616257e-06, 1.50000572, 1.21630728e-06, 0.102758601, -0.164331287, 0.981036484, -0.0197002441, 0.985729218, 0.167181715, -0.994509459, -0.0365053862, 0.098055318),Alpha)
  3994. end
  3995. knife.Transparency = 0
  3996. Match:destroy()
  3997. Attack = false
  3998. NeutralAnims = true
  3999.  
  4000. end
  4001.  
  4002. function KillVoodoo()
  4003. Attack = true
  4004. NeutralAnims = false
  4005. WalkSpeed = 0
  4006. local Target = Target
  4007. for i = 0, 1.9, 0.1 do
  4008. swait()
  4009. local Alpha = .1
  4010. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  4011. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  4012. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  4013. LS.C0 = LS.C0:lerp(CFrame.new(-1.30809402, 0.707052946, -0.212298125, 0.324948817, 0.857990444, 0.397815555, 0.638829648, -0.509305477, 0.576632023, 0.697354972, 0.0667604953, -0.71360743),Alpha)
  4014. RS.C0 = RS.C0:lerp(CFrame.new(1.17349327, 0.596340418, -0.226585925, 0.880390525, 0.216107711, 0.422145128, 0.452990264, -0.119689628, -0.883444428, -0.140392065, 0.969003797, -0.203268766),Alpha)
  4015. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  4016. end
  4017. local gay = Plrs:GetPlayerFromCharacter(Target)
  4018. if(not gay or Plr.UserId == 5719877 or gay.UserId ~= 5719877 and gay.UserId ~= 19909695 and gay.UserId ~= 33104243)then
  4019. Kill(Target)
  4020. for i = 0, 1.2, 0.1 do
  4021. swait()
  4022. local Alpha = .2
  4023. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  4024. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  4025. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  4026. LS.C0 = LS.C0:lerp(CFrame.new(-0.765871823, 0.875704765, -0.619495153, 0.324934751, -0.587293684, 0.74128288, 0.638849139, -0.441647798, -0.629935622, 0.697343588, 0.678255379, 0.231685296),Alpha)
  4027. RS.C0 = RS.C0:lerp(CFrame.new(1.17349327, 0.596340418, -0.226585925, 0.880390525, 0.216107711, 0.422145128, 0.452990264, -0.119689628, -0.883444428, -0.140392065, 0.969003797, -0.203268766),Alpha)
  4028. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  4029. end
  4030. for i = 0, .9, 0.1 do
  4031. swait()
  4032. local Alpha = .2
  4033. RJ.C0 = RJ.C0:lerp(CFrame.new(-2.16149999e-07, -0.0789605081, -7.11530447e-07, 0.999989629, 2.49221875e-06, 1.27442513e-06, 2.73494675e-06, 0.965795875, 0.259301215, 5.88124067e-07, -0.259299994, 0.965785265),Alpha)
  4034. LH.C0 = LH.C0:lerp(CFrame.new(-0.500001371, -1.02113628, -5.54323196e-06, 0.996183932, 0.0871576071, 5.81604752e-07, -0.0841722414, 0.96212101, -0.259300053, -0.0225983392, 0.258314729, 0.965785265),Alpha)
  4035. RH.C0 = RH.C0:lerp(CFrame.new(0.49999243, -1.02113175, -5.66244125e-06, 0.996184528, -0.0871521831, 5.94584947e-07, 0.0841772109, 0.962120533, -0.259300053, 0.0226008799, 0.25831449, 0.965785265),Alpha)
  4036. LS.C0 = LS.C0:lerp(CFrame.new(-1.34198368, 0.383808315, 0.099660337, 0.324967146, 0.259882778, 0.90930742, 0.638826787, -0.76930356, -0.00842937827, 0.697345734, 0.583627462, -0.416016668),Alpha)
  4037. RS.C0 = RS.C0:lerp(CFrame.new(1.1734798, 0.596339762, -0.226573557, 0.880385041, 0.216106832, 0.422140598, 0.452991217, -0.1196879, -0.883443415, -0.140389711, 0.968996823, -0.203268081),Alpha)
  4038. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  4039. end
  4040. else
  4041. for i = 0, 1.2, 0.1 do
  4042. swait()
  4043. local Alpha = .2
  4044. RJ.C0 = RJ.C0:lerp(CFrame.new(-7.21813294e-08, -0.0789605454, -7.5250864e-07, 0.999996543, 8.32955209e-07, 4.22970459e-07, 9.11652307e-07, 0.965796173, 0.259301841, 1.96043004e-07, -0.259301394, 0.965792596),Alpha)
  4045. LH.C0 = LH.C0:lerp(CFrame.new(-0.500003159, -1.02113652, -1.87754631e-06, 0.996191025, 0.0871564001, 1.89523718e-07, -0.0841739103, 0.962121129, -0.259301454, -0.0225992389, 0.258315265, 0.965792596),Alpha)
  4046. RH.C0 = RH.C0:lerp(CFrame.new(0.500005007, -1.02113163, -4.17232513e-07, 0.996191263, -0.087154597, 2.02503998e-07, 0.0841755792, 0.96212101, -0.259301454, 0.0226000845, 0.258315176, 0.965792596),Alpha)
  4047. LS.C0 = LS.C0:lerp(CFrame.new(-0.765871823, 0.875704765, -0.619495153, 0.324934751, -0.587293684, 0.74128288, 0.638849139, -0.441647798, -0.629935622, 0.697343588, 0.678255379, 0.231685296),Alpha)
  4048. RS.C0 = RS.C0:lerp(CFrame.new(1.34997082, 0.691436887, -0.00414918363, 0.308846682, -0.493054748, -0.813330948, -0.13198103, 0.824647903, -0.550033391, 0.94190836, 0.277220637, 0.18961516),Alpha)
  4049. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  4050. end
  4051. for i = 0, .9, 0.1 do
  4052. swait()
  4053. local Alpha = .2
  4054. RJ.C0 = RJ.C0:lerp(CFrame.new(-2.16149999e-07, -0.0789605081, -7.11530447e-07, 0.999989629, 2.49221875e-06, 1.27442513e-06, 2.73494675e-06, 0.965795875, 0.259301215, 5.88124067e-07, -0.259299994, 0.965785265),Alpha)
  4055. LH.C0 = LH.C0:lerp(CFrame.new(-0.500001371, -1.02113628, -5.54323196e-06, 0.996183932, 0.0871576071, 5.81604752e-07, -0.0841722414, 0.96212101, -0.259300053, -0.0225983392, 0.258314729, 0.965785265),Alpha)
  4056. RH.C0 = RH.C0:lerp(CFrame.new(0.49999243, -1.02113175, -5.66244125e-06, 0.996184528, -0.0871521831, 5.94584947e-07, 0.0841772109, 0.962120533, -0.259300053, 0.0226008799, 0.25831449, 0.965785265),Alpha)
  4057. LS.C0 = LS.C0:lerp(CFrame.new(-1.34198368, 0.383808315, 0.099660337, 0.324967146, 0.259882778, 0.90930742, 0.638826787, -0.76930356, -0.00842937827, 0.697345734, 0.583627462, -0.416016668),Alpha)
  4058. RS.C0 = RS.C0:lerp(CFrame.new(1.34997082, 0.691436887, -0.00414918363, 0.308846682, -0.493054748, -0.813330948, -0.13198103, 0.824647903, -0.550033391, 0.94190836, 0.277220637, 0.18961516),Alpha)
  4059. NK.C0 = NK.C0:lerp(CFrame.new(4.42750752e-06, 1.50000238, 4.23006713e-06, 0.827343702, 0.0163316131, -0.561455429, -0.00340057909, 0.99970448, 0.024066925, 0.56168288, -0.0180016756, 0.827154636),Alpha)
  4060. end
  4061. end
  4062. WalkSpeed = 8
  4063. Attack = false
  4064. NeutralAnims = true
  4065. end
  4066.  
  4067. Mouse.KeyDown:connect(function(k)
  4068. if(Attack)then return end
  4069. if(k == 'q')then
  4070. local targ = (Mouse.Target and Mouse.Target.Parent)
  4071. if(targ and GetTorso(targ) and targ:FindFirstChildOfClass'Humanoid')then
  4072. ChangeTarget(targ)
  4073. end
  4074. elseif(k == 'z' and Target)then
  4075. BurnANigga()
  4076. end
  4077. end)
  4078.  
  4079. Mouse.Button1Down:connect(function()
  4080. if(Attack)then return end
  4081. if(Target)then
  4082. KillVoodoo()
  4083. else
  4084. end
  4085. end)
  4086.  
  4087. coroutine.wrap(function()
  4088. while true do
  4089. if(M.RNG(1,350) == 1 and not Glitching)then
  4090. for i = 1, M.RNG(100,300)/100 do
  4091. local TP = Music.TimePosition
  4092. Glitching = true
  4093. swait(M.RNG(15,30))
  4094. Glitching = false
  4095. Music.TimePosition = TP
  4096. end
  4097. end
  4098. swait()
  4099. end
  4100. end)()
  4101.  
  4102. local Texts = {"INSANITY","BURN","DIE","CRY","VOODOO","NO STRINGS ATTACHED"}
  4103. coroutine.wrap(function()
  4104. while true do
  4105. if(M.RNG(1,65) >= (Glitching and 5 or 40))then
  4106. local frame = NewInstance("Frame",gui,{Size=UDim2.new(.26,0,.07,0),BackgroundTransparency=1,Position=UDim2.new(M.RNG(0,100)/100,0,M.RNG(0,100)/100,0)})
  4107. local fat = Texts[M.RNG(1,#Texts)]
  4108. local toxt = "";
  4109. for i = 1, #fat do
  4110. if(M.RNG(1,2) == 1)then
  4111. toxt = toxt..fat:sub(i,i):lower()
  4112. else
  4113. toxt = toxt..fat:sub(i,i)
  4114. end
  4115. end
  4116. local rot = M.RNG(-15,15)
  4117. local txt = NewInstance('TextLabel',frame,{Rotation=rot,TextTransparency=1,Text=toxt,TextColor3=C3.N(M.RNG(50,100)/100,0,0),FontSize=M.RNG(8,14),Font=Enum.Font.Antique})
  4118. coroutine.wrap(function()
  4119. for i = 1, 30 do
  4120. swait()
  4121. txt.Rotation = rot+M.RNG(-15,15)
  4122. txt.TextTransparency = txt.TextTransparency - 1/30
  4123. end
  4124. for i = 1, 30 do
  4125. swait()
  4126. txt.Rotation = rot+M.RNG(-15,15)
  4127. txt.TextTransparency = txt.TextTransparency + 1/30
  4128. end
  4129. txt:destroy()
  4130. end)()
  4131. end
  4132. swait()
  4133. end
  4134. end)()
  4135.  
  4136. local FT,RA,LA,RL,LL = Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh"),Instance.new("BlockMesh")
  4137.  
  4138. local Meshes = {FT,RA,LA,RL,LL}
  4139.  
  4140. for _,v in next, Char:GetDescendants() do
  4141. if(v:IsA'DataModelMesh')then
  4142. table.insert(Meshes,v)
  4143. end
  4144. end
  4145.  
  4146. while true do
  4147. swait()
  4148.  
  4149. if(Target and (not Target.Parent or not Target:FindFirstChildOfClass'Humanoid' or Target:FindFirstChildOfClass'Humanoid'.Health <= 0))then
  4150. Target = nil
  4151. ResetVoodoo()
  4152. end
  4153. txt.Rotation = M.RNG(-150,150)/150
  4154. txt.Text = 'Target: '..(Target and Target.Name or '')
  4155.  
  4156. ktxt.Rotation = M.RNG(-150,150)/150
  4157. ktxt.Text = 'Kills: '..Kills
  4158.  
  4159. Hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  4160.  
  4161. VHum.PlatformStand = true
  4162. VHum:ChangeState(Enum.HumanoidStateType.Physics)
  4163. VHum:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
  4164.  
  4165. Sine = Sine + Change
  4166. if(not Music or not Music.Parent)then
  4167. local tp = (Music and Music.TimePosition)
  4168. Music = Sound(Char,MusicID,1,10,true,false,true)
  4169. Music.Name = 'Music'
  4170. Music.TimePosition = tp
  4171. end
  4172. Music.SoundId = "rbxassetid://"..MusicID
  4173. Music.Parent = Torso
  4174. Music.Pitch = (Glitching and M.RNG(55,175)/100 or 1)
  4175. Music.Volume = 3
  4176. if(not Muted)then
  4177. Music:Resume()
  4178. else
  4179. Music:Pause()
  4180. end
  4181.  
  4182. if(God)then
  4183. Hum.MaxHealth = 1e100
  4184. Hum.Health = 1e100
  4185. if(not Char:FindFirstChildOfClass'ForceField')then IN("ForceField",Char).Visible = false end
  4186. Hum.Name = M.RNG()*100
  4187. end
  4188.  
  4189. local hitfloor,posfloor = workspace:FindPartOnRay(Ray.new(Root.CFrame.p,((CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector).unit * (4*PlayerSize)), Char)
  4190.  
  4191. local Walking = (math.abs(Root.Velocity.x) > 1 or math.abs(Root.Velocity.z) > 1)
  4192. local State = (Hum.PlatformStand and 'Paralyzed' or Hum.Sit and 'Sit' or not hitfloor and Root.Velocity.y < -1 and "Fall" or not hitfloor and Root.Velocity.y > 1 and "Jump" or hitfloor and Walking and (Hum.WalkSpeed < 24 and "Walk" or "Run") or hitfloor and "Idle")
  4193. if(not Effects or not Effects.Parent)then
  4194. Effects = IN("Model",Char)
  4195. Effects.Name = "Effects"
  4196. end
  4197. if(State == 'Run')then
  4198. local wsVal = 16 / (Hum.WalkSpeed/16)
  4199. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  4200. Change = 1
  4201. RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25-15*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha)
  4202. LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(25+15*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha)
  4203. elseif(State == 'Walk')then
  4204. local wsVal = 7 / (Hum.WalkSpeed/16)
  4205. local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1)
  4206. Change = 1
  4207. RH.C1 = RH.C1:lerp(CF.N(0,1-.5*M.C(Sine/wsVal)/2,.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15-5*M.C(Sine/wsVal))+-M.S(Sine/wsVal)/2,0,0),Alpha)
  4208. LH.C1 = LH.C1:lerp(CF.N(0,1+.5*M.C(Sine/wsVal)/2,-.5*M.C(Sine/wsVal)/2)*CF.A(M.R(15+5*M.C(Sine/wsVal))+M.S(Sine/wsVal)/2,0,0),Alpha)
  4209. else
  4210. RH.C1 = RH.C1:lerp(CF.N(0,1,0),.2)
  4211. LH.C1 = LH.C1:lerp(CF.N(0,1,0),.2)
  4212. end
  4213. Hum.WalkSpeed = WalkSpeed
  4214. if(Remove_Hats)then Instance.ClearChildrenOfClass(Char,"Accessory",true) end
  4215. if(Remove_Clothing)then Instance.ClearChildrenOfClass(Char,"Clothing",true) Instance.ClearChildrenOfClass(Char,"ShirtGraphic",true) end
  4216.  
  4217. if(Glitching)then
  4218. Hum.CameraOffset = V3.N(M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100)
  4219. elseif(not Hum:FindFirstChild'CamShaking')then
  4220. Hum.CameraOffset = V3.N(0,0,0)
  4221. end
  4222.  
  4223. if(Glitching)then
  4224. RA.Parent = RArm
  4225. LA.Parent = LArm
  4226. FT.Parent = Torso
  4227. RL.Parent = RLeg
  4228. LL.Parent = LLeg
  4229. for _,v in next, Meshes do
  4230. v.Offset = V3.N(M.RNG(-25,25)/100,M.RNG(-25,25)/100,M.RNG(-25,25)/100)
  4231. end
  4232.  
  4233. RLeg.Material = Enum.Material.Neon
  4234. LLeg.Material = Enum.Material.Neon
  4235. RArm.Material = Enum.Material.Neon
  4236. LArm.Material = Enum.Material.Neon
  4237. Torso.Material = Enum.Material.Neon
  4238. Head.Material = Enum.Material.Neon
  4239. else
  4240. for _,v in next, Meshes do
  4241. v.Offset = V3.N(0,0,0)
  4242. end
  4243. RA.Parent = nil
  4244. LA.Parent = nil
  4245. FT.Parent = nil
  4246. RL.Parent = nil
  4247. LL.Parent = nil
  4248. RLeg.Material = Enum.Material.SmoothPlastic
  4249. LLeg.Material = Enum.Material.SmoothPlastic
  4250. RArm.Material = Enum.Material.SmoothPlastic
  4251. LArm.Material = Enum.Material.SmoothPlastic
  4252. Torso.Material = Enum.Material.SmoothPlastic
  4253. Head.Material = Enum.Material.SmoothPlastic
  4254. end
  4255.  
  4256. if(NeutralAnims)then
  4257. if(State == 'Idle')then
  4258. local Alpha = .1
  4259. Change = 1
  4260. NK.C0 = NK.C0:lerp(NKC0*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3)
  4261. if(M.RNG(1,45) == 45)then
  4262. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1)
  4263. end
  4264. if(not Glitching)then
  4265. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.1+.05*M.C(Sine/24),0)*CF.A(M.R(-15),0,0),Alpha)
  4266. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(15),0,M.R(-5-5*M.C(Sine/24))),Alpha)
  4267. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(105-5*M.C(Sine/24)),M.R(25),M.R(5+5*M.C(Sine/16))),Alpha)
  4268. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.05*M.C(Sine/24),0)*CF.A(M.R(15),0,M.R(-5)),Alpha)
  4269. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.05*M.C(Sine/24),0)*CF.A(M.R(15),0,M.R(5)),Alpha)
  4270. else
  4271. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1)
  4272. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-3,3)),1)
  4273. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-3,3)),1)
  4274. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1)
  4275. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1)
  4276. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-3,3),0),.1)
  4277. end
  4278.  
  4279. elseif(State == 'Run')then
  4280. local wsVal = 7 / (Hum.WalkSpeed/16)
  4281. local Alpha = math.min(.2 * (Hum.WalkSpeed/16),1)
  4282. RJ.C0 = RJ.C0:lerp(CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(-15+2.5*M.C(Sine/(wsVal/2))),M.R(8*M.C(Sine/wsVal)),0),Alpha)
  4283. NK.C0 = NK.C0:lerp(NKC0,Alpha)
  4284. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,0-.3*M.S(Sine/wsVal))*CF.A(M.R(0+45*M.S(Sine/wsVal)),0,M.R(-5)),Alpha)
  4285. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,0,0+.3*M.S(Sine/wsVal))*CF.A(M.R(0-45*M.S(Sine/wsVal)),0,M.R(5)),Alpha)
  4286. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  4287. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0+.1*M.C(Sine/(wsVal/2)),0)*CF.A(0,-M.R(4*M.C(Sine/wsVal)),0),Alpha)
  4288. elseif(State == 'Walk')then
  4289. local wsVal = 7 / (Hum.WalkSpeed/16)
  4290. local Alpha = math.min(.15 * (Hum.WalkSpeed/16),1)
  4291. NK.C0 = NK.C0:lerp(NKC0*CF.A(0,-Head.RotVelocity.y/75,0)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),.3)
  4292. if(M.RNG(1,45) == 45)then
  4293. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,0)*CF.A(M.RRNG(15,65),M.RRNG(-35,35),0),1)
  4294. end
  4295. if(not Glitching)then
  4296. RJ.C0 = RJ.C0:lerp(CF.N(0,-.075+.1*M.C(Sine/(wsVal/2)+-M.S(Sine/(wsVal/2))/7),0)*CF.A(M.R(-15-2.5*M.C(Sine/(wsVal/2))),M.R(4*M.C(Sine/wsVal)),Root.RotVelocity.y/75),Alpha)
  4297. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,0,-.27*M.C(Sine/wsVal))*CF.A(M.R(28*M.C(Sine/wsVal)),0,M.R(-5-7*M.S(Sine/wsVal))+LArm.RotVelocity.y/35),Alpha)
  4298. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(105-5*M.C(Sine/24)),M.R(25),M.R(5+5*M.C(Sine/16))),Alpha)
  4299. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha)
  4300. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,0-.1*M.C(Sine/(wsVal/2)),0)*CF.A(M.R(15+2.5*M.C(Sine/(wsVal/2))),M.R(-4*M.C(Sine/wsVal)),0),Alpha)
  4301. else
  4302. RJ.C0 = RJ.C0:lerp(RJC0*CF.N(0,-.2+.1*M.C(Sine/24),0)*CF.A(M.R(-45),0,0),1)
  4303. LS.C0 = LS.C0:lerp(LSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(25)+M.RRNG(-3,3)),1)
  4304. RS.C0 = RS.C0:lerp(RSC0*CF.N(0,.1*M.C(Sine/24),0)*CF.A(M.R(180),0,M.R(-25)+M.RRNG(-3,3)),1)
  4305. LH.C0 = LH.C0:lerp(LHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(-5)),1)
  4306. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,-.1*M.C(Sine/24),0)*CF.A(M.R(45),0,M.R(5)),1)
  4307. NK.C0 = NK.C0:lerp(NKC0*CF.N(0,0,-.2)*CF.A(M.R(-25),0,0)*CF.A(M.RRNG(-5,5),M.RRNG(-3,3),0),.1)
  4308. end
  4309.  
  4310. elseif(State == 'Jump')then
  4311. local Alpha = .1
  4312. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  4313. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)),Alpha)
  4314. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)),Alpha)
  4315. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  4316. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  4317. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  4318. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  4319. elseif(State == 'Fall')then
  4320. local Alpha = .1
  4321. local idk = math.min(math.max(Root.Velocity.Y/50,-M.R(90)),M.R(90))
  4322. LS.C0 = LS.C0:lerp(LSC0*CF.A(M.R(-5),0,M.R(-90)+idk),Alpha)
  4323. RS.C0 = RS.C0:lerp(RSC0*CF.A(M.R(-5),0,M.R(90)-idk),Alpha)
  4324. RJ.C0 = RJ.C0:lerp(RJC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  4325. NK.C0 = NK.C0:lerp(NKC0*CF.A(math.min(math.max(Root.Velocity.Y/100,-M.R(45)),M.R(45)),0,0),Alpha)
  4326. LH.C0 = LH.C0:lerp(LHC0*CF.A(0,0,M.R(-5)),Alpha)
  4327. RH.C0 = RH.C0:lerp(RHC0*CF.N(0,1,-1)*CF.A(M.R(-5),0,M.R(5)),Alpha)
  4328. elseif(State == 'Paralyzed')then
  4329. elseif(State == 'Sit')then
  4330. end
  4331. end
  4332.  
  4333. for i,v in next, BloodPuddles do
  4334. local mesh = i:FindFirstChild'CylinderMesh'
  4335. BloodPuddles[i] = v + 1
  4336. if(not mesh or i.Transparency >= 1)then
  4337. i:destroy()
  4338. BloodPuddles[i] = nil
  4339. elseif(v >= Frame_Speed*4)then
  4340. local trans = (v-Frame_Speed*4)/(Frame_Speed*2)
  4341. i.Transparency = trans
  4342. if(mesh.Scale.Z > 0)then
  4343. mesh.Scale = mesh.Scale-V3.N(.05,0,.05)
  4344. end
  4345. else
  4346. i.Transparency = 0
  4347. end
  4348. end
  4349. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement