reset234567890

Untitled

May 1st, 2020
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.81 KB | None | 0 0
  1. -- ------------------------------
  2. -- / \
  3. -- | Edit By EnderPlayBro |
  4. -- | Code By ozzak1003 |
  5. -- | edit by danielplayer01000 |
  6. -- |
  7. -- | Name:Scipt |
  8. -- | ErRoR sAnS |
  9. -- | (editing edit) |
  10. -- \ /
  11. -- ------------------------------
  12.  
  13.  
  14.  
  15.  
  16. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  17. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  18. do
  19. print("how did u get this?")
  20. script.Parent = Player.Character
  21.  
  22. --RemoteEvent for communicating
  23. local Event = Instance.new("RemoteEvent")
  24. Event.Name = "UserInput_Event"
  25.  
  26. --Fake event to make stuff like Mouse.KeyDown work
  27. local function fakeEvent()
  28. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  29. t.connect = t.Connect
  30. return t
  31. end
  32.  
  33. --Creating fake input objects with fake variables
  34. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  35. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  36. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  37. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  38. end}
  39. --Merged 2 functions into one by checking amount of arguments
  40. CAS.UnbindAction = CAS.BindAction
  41.  
  42. --This function will trigger the events that have been :Connect()'ed
  43. local function te(self,ev,...)
  44. local t = m[ev]
  45. if t and t._fakeEvent and t.Function then
  46. t.Function(...)
  47. end
  48. end
  49. m.TrigEvent = te
  50. UIS.TrigEvent = te
  51.  
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=Player then return end
  54. if io.isMouse then
  55. m.Target = io.Target
  56. m.Hit = io.Hit
  57. else
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. for _,t in pairs(CAS.Actions) do
  63. for _,k in pairs(t.Keys) do
  64. if k==io.KeyCode then
  65. t.Function(t.Name,io.UserInputState,io)
  66. end
  67. end
  68. end
  69. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  70. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  71. end
  72. end)
  73. Event.Parent = NLS([==[
  74. local Player = game:GetService("Players").LocalPlayer
  75. local Event = script:WaitForChild("UserInput_Event")
  76.  
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,a)
  79. if a then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85.  
  86. local Mouse = Player:GetMouse()
  87. local h,t
  88. --Give the server mouse data 30 times every second, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. while wait(1/30) do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. end]==],Player.Character)
  96. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  97. end
  98.  
  99.  
  100. local FavIDs = {
  101. 340106355, --Nefl Crystals
  102. 927529620, --Dimension
  103. 876981900, --Fantasy
  104. 398987889, --Ordinary Days
  105. 1117396305, --Oh wait, it's you.
  106. 885996042, --Action Winter Journey
  107. 919231299, --Sprawling Idiot Effigy
  108. 743466274, --Good Day Sunshine
  109. 727411183, --Knife Fight
  110. 1402748531, --The Earth Is Counting On You!
  111. 595230126 --Robot Language
  112. }
  113.  
  114.  
  115.  
  116. wait(0.2)
  117. local plr = owner
  118. print('hello '..plr.Name)
  119. print('my name is')
  120. print('Sans')
  121. local char = plr.Character
  122. local hum = char.Humanoid
  123. local hed = char.Head
  124. local root = char.HumanoidRootPart
  125. local rootj = root.RootJoint
  126. local tors = char.Torso
  127. local ra = char["Right Arm"]
  128. local la = char["Left Arm"]
  129. local rl = char["Right Leg"]
  130. local ll = char["Left Leg"]
  131. local neck = tors["Neck"]
  132. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  133. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  134. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  135. local maincolor = BrickColor.new("Institutional white")
  136. ff = Instance.new("ForceField",char)
  137. ff.Visible = false
  138. hum.Name = "Base"
  139. hum.MaxHealth = 1.0E298
  140. hum.Health = 1.0E298
  141. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  142. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  143. hum.MaxHealth = 1.0E298
  144. hum.Health = 1.0E298
  145. end
  146. end)
  147.  
  148. Animation_Speed = 3
  149. ERROR = Instance.new("Sound", tors)
  150. ERROR.SoundId = "rbxassetid://333430981"
  151. ERROR.Volume = 30
  152. ERROR.Pitch = 1
  153. ERROR.Looped = true
  154. ERROR.TimePosition = 0
  155. -------------------------------------------------------
  156. --Chat--
  157. -------------------------------------------------------
  158. local talksound = Instance.new("Sound",char.Torso)
  159. talksound.SoundId = "rbxassetid://928210219"
  160. talksound.Volume = 4
  161. function swait(num)
  162. if num==0 or num==nil then
  163. game:service'RunService'.Stepped:wait(0)
  164. else
  165. for i=0,num do
  166. game:service'RunService'.Stepped:wait(0)
  167. end
  168. end
  169. end
  170.  
  171. function chatfunc(text)
  172. local chat = coroutine.wrap(function()
  173. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  174. char:FindFirstChild("TalkingBillBoard"):Destroy()
  175. end
  176. local naeeym2 = Instance.new("BillboardGui",char)
  177. naeeym2.Size = UDim2.new(0,100,0,40)
  178. naeeym2.StudsOffset = Vector3.new(0,3,0)
  179. naeeym2.Adornee = char.Head
  180. naeeym2.Name = "TalkingBillBoard"
  181. local tecks2 = Instance.new("TextLabel",naeeym2)
  182. tecks2.BackgroundTransparency = 1
  183. tecks2.BorderSizePixel = 0
  184. tecks2.Text = ""
  185. tecks2.Font = "Arcade"
  186. tecks2.TextSize = 50
  187. tecks2.TextStrokeTransparency = 0
  188. tecks2.TextColor3 = Color3.new(0,0,0)
  189. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  190. tecks2.Size = UDim2.new(1,0,0.5,0)
  191. local tecks3 = Instance.new("TextLabel",naeeym2)
  192. tecks3.BackgroundTransparency = 1
  193. tecks3.BorderSizePixel = 0
  194. tecks3.Text = ""
  195. tecks3.Font = "Arcade"
  196. tecks3.TextSize = 50
  197. tecks3.TextStrokeTransparency = 0
  198. tecks3.TextColor3 = Color3.new(157, 157, 157)
  199. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  200. tecks3.Size = UDim2.new(1,0,0.5,0)
  201. for i = 1,string.len(text),1 do
  202. tecks2.Text = string.sub(text,1,i)
  203. tecks3.Text = string.sub(text,1,i)
  204. talksound:Play()
  205. wait(0.01)
  206. end
  207. wait(2)
  208. for i = 1, 50 do
  209. swait()
  210. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  211. tecks2.Rotation = tecks2.Rotation - .8
  212. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  213. tecks2.TextTransparency = tecks2.TextTransparency + .04
  214. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  215. tecks3.Rotation = tecks2.Rotation + .8
  216. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  217. tecks3.TextTransparency = tecks2.TextTransparency + .04
  218. end
  219. naeeym2:Destroy()
  220. end)
  221. chat()
  222. end
  223. function onChatted(msg)
  224. chatfunc(msg)
  225. end
  226. plr.Chatted:connect(onChatted)
  227. -------------------------------------------------------
  228. --Shirt Pants Face and Color--
  229. -------------------------------------------------------
  230. for i,v in pairs(char:GetChildren()) do
  231. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  232. v:Destroy()
  233. end
  234. end
  235. char.Shirt:Destroy()
  236. char.Pants:Destroy()
  237. shirt = Instance.new("Shirt", char)
  238. shirt.Name = "Shirt"
  239. pants = Instance.new("Pants", char)
  240. pants.Name = "Pants"
  241. char.Shirt.ShirtTemplate = "rbxassetid://1245077380"
  242. char.Pants.PantsTemplate = "rbxassetid://1168346150"
  243. char.Head.face.Texture = "http://www.roblox.com/asset/?id=2543336807"
  244.  
  245. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  246. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  247. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  248. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  249. wait(4)
  250. print("no")
  251. char.Shirt:Destroy()
  252. char.Pants:Destroy()
  253. shirt = Instance.new("Shirt", char)
  254. shirt.Name = "Shirt"
  255. pants = Instance.new("Pants", char)
  256. pants.Name = "Pants"
  257. char.Shirt.ShirtTemplate = "rbxassetid://1511368672"
  258. char.Pants.PantsTemplate = "rbxassetid://818423314"
  259. char.Head.face.Texture = "rbxassetid://543498118"
  260.  
  261. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  262. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  263. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  264. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  265. ERROR:Play()
  266. wait(0.4)
  267. char.Shirt:Destroy()
  268. char.Pants:Destroy()
  269. shirt = Instance.new("Shirt", char)
  270. shirt.Name = "Shirt"
  271. pants = Instance.new("Pants", char)
  272. pants.Name = "Pants"
  273. char.Shirt.ShirtTemplate = "rbxassetid://1245077380"
  274. char.Pants.PantsTemplate = "rbxassetid://1168346150"
  275. char.Head.face.Texture = "http://www.roblox.com/asset/?id=2543336807"
  276.  
  277. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  278. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  279. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  280. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  281. ERROR:Stop()
  282. wait(2)
  283. print("my real name is")
  284. char.Shirt:Destroy()
  285. char.Pants:Destroy()
  286. shirt = Instance.new("Shirt", char)
  287. shirt.Name = "Shirt"
  288. pants = Instance.new("Pants", char)
  289. pants.Name = "Pants"
  290. char.Shirt.ShirtTemplate = "rbxassetid://1511368672"
  291. char.Pants.PantsTemplate = "rbxassetid://818423314"
  292. char.Head.face.Texture = "rbxassetid://543498118"
  293.  
  294. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  295. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  296. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  297. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  298. ERROR:Play()
  299. wait(0.6)
  300. char.Shirt:Destroy()
  301. char.Pants:Destroy()
  302. shirt = Instance.new("Shirt", char)
  303. shirt.Name = "Shirt"
  304. pants = Instance.new("Pants", char)
  305. pants.Name = "Pants"
  306. char.Shirt.ShirtTemplate = "rbxassetid://1245077380"
  307. char.Pants.PantsTemplate = "rbxassetid://1168346150"
  308. char.Head.face.Texture = "http://www.roblox.com/asset/?id=2543336807"
  309.  
  310. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  311. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  312. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  313. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  314. ERROR:Stop()
  315. wait(0.9)
  316. char.Shirt:Destroy()
  317. char.Pants:Destroy()
  318. shirt = Instance.new("Shirt", char)
  319. shirt.Name = "Shirt"
  320. pants = Instance.new("Pants", char)
  321. pants.Name = "Pants"
  322. char.Shirt.ShirtTemplate = "rbxassetid://1511368672"
  323. char.Pants.PantsTemplate = "rbxassetid://818423314"
  324. char.Head.face.Texture = "rbxassetid://543498118"
  325.  
  326. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  327. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  328. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  329. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  330. ERROR:Play()
  331. wait(0.2)
  332. char.Shirt:Destroy()
  333. char.Pants:Destroy()
  334. shirt = Instance.new("Shirt", char)
  335. shirt.Name = "Shirt"
  336. pants = Instance.new("Pants", char)
  337. pants.Name = "Pants"
  338. char.Shirt.ShirtTemplate = "rbxassetid://1245077380"
  339. char.Pants.PantsTemplate = "rbxassetid://1168346150"
  340. char.Head.face.Texture = "http://www.roblox.com/asset/?id=2543336807"
  341.  
  342. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  343. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  344. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  345. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  346. ERROR:Stop()
  347. wait(0.2)
  348. char.Shirt:Destroy()
  349. char.Pants:Destroy()
  350. shirt = Instance.new("Shirt", char)
  351. shirt.Name = "Shirt"
  352. pants = Instance.new("Pants", char)
  353. pants.Name = "Pants"
  354. char.Shirt.ShirtTemplate = "rbxassetid://1511368672"
  355. char.Pants.PantsTemplate = "rbxassetid://818423314"
  356. char.Head.face.Texture = "rbxassetid://543498118"
  357.  
  358. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  359. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  360. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  361. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  362. ERROR:Play()
  363. wait(0.2)
  364. char.Shirt:Destroy()
  365. char.Pants:Destroy()
  366. shirt = Instance.new("Shirt", char)
  367. shirt.Name = "Shirt"
  368. pants = Instance.new("Pants", char)
  369. pants.Name = "Pants"
  370. char.Shirt.ShirtTemplate = "rbxassetid://1245077380"
  371. char.Pants.PantsTemplate = "rbxassetid://1168346150"
  372. char.Head.face.Texture = "http://www.roblox.com/asset/?id=2543336807"
  373.  
  374. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  375. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  376. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  377. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  378. ERROR:Stop()
  379. wait(0.2)
  380. print("ErRoR sAnS")
  381. char.Shirt:Destroy()
  382. char.Pants:Destroy()
  383. shirt = Instance.new("Shirt", char)
  384. shirt.Name = "Shirt"
  385. pants = Instance.new("Pants", char)
  386. pants.Name = "Pants"
  387. char.Shirt.ShirtTemplate = "rbxassetid://276792537"
  388. char.Pants.PantsTemplate = "rbxassetid://276792689"
  389. char.Head.face.Texture = "rbxassetid://3475979257"
  390.  
  391. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  392. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  393. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  394. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  395. wait(1)
  396. chatfunc("Well hello")
  397. wait(1.2)
  398. chatfunc("this AU must be destroyed")
  399. -------------------------------------------------------
  400. --Start Good Stuff--
  401. -------------------------------------------------------
  402. cam = game.Workspace.CurrentCamera
  403. CF = CFrame.new
  404. angles = CFrame.Angles
  405. attack = false
  406. Euler = CFrame.fromEulerAnglesXYZ
  407. Rad = math.rad
  408. IT = Instance.new
  409. BrickC = BrickColor.new
  410. Cos = math.cos
  411. Acos = math.acos
  412. Sin = math.sin
  413. Asin = math.asin
  414. Abs = math.abs
  415. Mrandom = math.random
  416. Floor = math.floor
  417. -------------------------------------------------------
  418. --End Good Stuff--
  419. -------------------------------------------------------
  420. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  421. RSH, LSH = nil, nil
  422. RW = Instance.new("Weld")
  423. LW = Instance.new("Weld")
  424. RH = tors["Right Hip"]
  425. LH = tors["Left Hip"]
  426. RSH = tors["Right Shoulder"]
  427. LSH = tors["Left Shoulder"]
  428. RSH.Parent = nil
  429. LSH.Parent = nil
  430. RW.Name = "RW"
  431. RW.Part0 = tors
  432. RW.C0 = CF(1.5, 0.5, 0)
  433. RW.C1 = CF(0, 0.5, 0)
  434. RW.Part1 = ra
  435. RW.Parent = tors
  436. LW.Name = "LW"
  437. LW.Part0 = tors
  438. LW.C0 = CF(-1.5, 0.5, 0)
  439. LW.C1 = CF(0, 0.5, 0)
  440. LW.Part1 = la
  441. LW.Parent = tors
  442. local Rooted = false
  443. local PLAYSONG = true
  444. Effects = {}
  445. -------------------------------------------------------
  446. --Start HeartBeat--
  447. -------------------------------------------------------
  448. ArtificialHB = Instance.new("BindableEvent", script)
  449. ArtificialHB.Name = "Heartbeat"
  450. script:WaitForChild("Heartbeat")
  451.  
  452. frame = 1 / 60
  453. tf = 0
  454. allowframeloss = false
  455. tossremainder = false
  456.  
  457.  
  458. lastframe = tick()
  459. script.Heartbeat:Fire()
  460.  
  461.  
  462. game:GetService("RunService").Heartbeat:connect(function(s, p)
  463. tf = tf + s
  464. if tf >= frame then
  465. if allowframeloss then
  466. script.Heartbeat:Fire()
  467. lastframe = tick()
  468. else
  469. for i = 1, math.floor(tf / frame) do
  470. script.Heartbeat:Fire()
  471. end
  472. lastframe = tick()
  473. end
  474. if tossremainder then
  475. tf = 0
  476. else
  477. tf = tf - frame * math.floor(tf / frame)
  478. end
  479. end
  480. end)
  481. -------------------------------------------------------
  482. --effect--
  483. -------------------------------------------------------
  484. local particleemitter = Instance.new('ParticleEmitter', la)
  485. particleemitter.VelocitySpread = 350
  486. particleemitter.Lifetime = NumberRange.new(1)
  487. particleemitter.Speed = NumberRange.new(0)
  488. cringememe= {}
  489. for i=0, 19 do
  490. cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  491. end
  492. particleemitter.Size = NumberSequence.new(cringememe)
  493. particleemitter.Rate = 1
  494. particleemitter.LockedToPart = true
  495. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  496. particleemitter.LightEmission = 1
  497. particleemitter.Texture = "rbxassetid://158293315"
  498. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  499.  
  500. local particleemitter = Instance.new('ParticleEmitter', neck)
  501. particleemitter.VelocitySpread = 250
  502. particleemitter.Lifetime = NumberRange.new(3)
  503. particleemitter.Speed = NumberRange.new(0)
  504. youAreATHOT = {}
  505. for i=0, 19 do
  506. youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  507. end
  508. particleemitter.Size = NumberSequence.new(youAreATHOT)
  509. particleemitter.Rate = 1
  510. particleemitter.LockedToPart = false
  511. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  512. particleemitter.LightEmission = 1
  513. particleemitter.Texture = "rbxassetid://158293315"
  514. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  515.  
  516. local particleemitter = Instance.new('ParticleEmitter', ra)
  517. particleemitter.VelocitySpread = 350
  518. particleemitter.Lifetime = NumberRange.new(1)
  519. particleemitter.Speed = NumberRange.new(0)
  520. cringememe2= {}
  521. for i=0, 19 do
  522. cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  523. end
  524. particleemitter.Size = NumberSequence.new(cringememe2)
  525. particleemitter.Rate = 1
  526. particleemitter.LockedToPart = true
  527. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  528. particleemitter.LightEmission = 1
  529. particleemitter.Texture = "rbxassetid://158293315"
  530. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  531.  
  532. local particleemitter = Instance.new('ParticleEmitter', rl)
  533. particleemitter.VelocitySpread = 350
  534. particleemitter.Lifetime = NumberRange.new(1)
  535. particleemitter.Speed = NumberRange.new(0)
  536. cringememe3= {}
  537. for i=0, 19 do
  538. cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  539. end
  540. particleemitter.Size = NumberSequence.new(cringememe3)
  541. particleemitter.Rate = 1
  542. particleemitter.LockedToPart = true
  543. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  544. particleemitter.LightEmission = 1
  545. particleemitter.Texture = "rbxassetid://158293315"
  546. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  547.  
  548. local particleemitter = Instance.new('ParticleEmitter', ll)
  549. particleemitter.VelocitySpread = 350
  550. particleemitter.Lifetime = NumberRange.new(1)
  551. particleemitter.Speed = NumberRange.new(0)
  552. cringememe4= {}
  553. for i=0, 19 do
  554. cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1))
  555. end
  556. particleemitter.Size = NumberSequence.new(cringememe4)
  557. particleemitter.Rate = 1
  558. particleemitter.LockedToPart = true
  559. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)})
  560. particleemitter.LightEmission = 1
  561. particleemitter.Texture = "rbxassetid://158293315"
  562. particleemitter.Color = ColorSequence.new(BrickColor.new("Lime green").Color)
  563. -------------------------------------------------------
  564. --Start Important Functions--
  565. -------------------------------------------------------
  566. function swait(num)
  567. if num == 0 or num == nil then
  568. game:service("RunService").Stepped:wait(0)
  569. else
  570. for i = 0, num do
  571. game:service("RunService").Stepped:wait(0)
  572. end
  573. end
  574. end
  575. function thread(f)
  576. coroutine.resume(coroutine.create(f))
  577. end
  578. function clerp(a, b, t)
  579. local qa = {
  580. QuaternionFromCFrame(a)
  581. }
  582. local qb = {
  583. QuaternionFromCFrame(b)
  584. }
  585. local ax, ay, az = a.x, a.y, a.z
  586. local bx, by, bz = b.x, b.y, b.z
  587. local _t = 1 - t
  588. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  589. end
  590. function QuaternionFromCFrame(cf)
  591. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  592. local trace = m00 + m11 + m22
  593. if trace > 0 then
  594. local s = math.sqrt(1 + trace)
  595. local recip = 0.5 / s
  596. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  597. else
  598. local i = 0
  599. if m00 < m11 then
  600. i = 1
  601. end
  602. if m22 > (i == 0 and m00 or m11) then
  603. i = 2
  604. end
  605. if i == 0 then
  606. local s = math.sqrt(m00 - m11 - m22 + 1)
  607. local recip = 0.5 / s
  608. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  609. elseif i == 1 then
  610. local s = math.sqrt(m11 - m22 - m00 + 1)
  611. local recip = 0.5 / s
  612. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  613. elseif i == 2 then
  614. local s = math.sqrt(m22 - m00 - m11 + 1)
  615. local recip = 0.5 / s
  616. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  617. end
  618. end
  619. end
  620. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  621. local xs, ys, zs = x + x, y + y, z + z
  622. local wx, wy, wz = w * xs, w * ys, w * zs
  623. local xx = x * xs
  624. local xy = x * ys
  625. local xz = x * zs
  626. local yy = y * ys
  627. local yz = y * zs
  628. local zz = z * zs
  629. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  630. end
  631. function QuaternionSlerp(a, b, t)
  632. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  633. local startInterp, finishInterp
  634. if cosTheta >= 1.0E-4 then
  635. if 1 - cosTheta > 1.0E-4 then
  636. local theta = math.acos(cosTheta)
  637. local invSinTheta = 1 / Sin(theta)
  638. startInterp = Sin((1 - t) * theta) * invSinTheta
  639. finishInterp = Sin(t * theta) * invSinTheta
  640. else
  641. startInterp = 1 - t
  642. finishInterp = t
  643. end
  644. elseif 1 + cosTheta > 1.0E-4 then
  645. local theta = math.acos(-cosTheta)
  646. local invSinTheta = 1 / Sin(theta)
  647. startInterp = Sin((t - 1) * theta) * invSinTheta
  648. finishInterp = Sin(t * theta) * invSinTheta
  649. else
  650. startInterp = t - 1
  651. finishInterp = t
  652. end
  653. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  654. end
  655. function rayCast(Position, Direction, Range, Ignore)
  656. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  657. end
  658. local RbxUtility = LoadLibrary("RbxUtility")
  659. local Create = RbxUtility.Create
  660.  
  661. -------------------------------------------------------
  662. --Start Damage Function--
  663. -------------------------------------------------------
  664. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  665. if hit.Parent == nil then
  666. return
  667. end
  668. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  669. for _, v in pairs(hit.Parent:children()) do
  670. if v:IsA("Humanoid") then
  671. h = v
  672. end
  673. end
  674. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  675.  
  676. hit.Parent:FindFirstChild("Head"):BreakJoints()
  677. end
  678.  
  679. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  680. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  681. if hit.Parent.DebounceHit.Value == true then
  682. return
  683. end
  684. end
  685. if Instance == true then
  686. hit.Parent:FindFirstChild("Head"):BreakJoints()
  687. end
  688. local c = Create("ObjectValue"){
  689. Name = "creator",
  690. Value = game:service("Players").LocalPlayer,
  691. Parent = h,
  692. }
  693. game:GetService("Debris"):AddItem(c, .5)
  694. if HitSound ~= nil and HitPitch ~= nil then
  695. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  696. end
  697. local Damage = math.random(minim, maxim)
  698. local blocked = false
  699. local block = hit.Parent:findFirstChild("Block")
  700. if block ~= nil then
  701. if block.className == "IntValue" then
  702. if block.Value > 0 then
  703. blocked = true
  704. block.Value = block.Value - 1
  705. print(block.Value)
  706. end
  707. end
  708. end
  709. if blocked == false then
  710. h.Health = h.Health - Damage
  711. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  712. else
  713. h.Health = h.Health - (Damage / 2)
  714. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  715. end
  716. if Type == "Knockdown" then
  717. local hum = hit.Parent.Humanoid
  718. hum.PlatformStand = true
  719. coroutine.resume(coroutine.create(function(HHumanoid)
  720. swait(1)
  721. HHumanoid.PlatformStand = false
  722. end), hum)
  723. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  724. local bodvol = Create("BodyVelocity"){
  725. velocity = angle * knockback,
  726. P = 5000,
  727. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  728. Parent = hit,
  729. }
  730. local rl = Create("BodyAngularVelocity"){
  731. P = 3000,
  732. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  733. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  734. Parent = hit,
  735. }
  736. game:GetService("Debris"):AddItem(bodvol, .5)
  737. game:GetService("Debris"):AddItem(rl, .5)
  738. elseif Type == "Normal" then
  739. local vp = Create("BodyVelocity"){
  740. P = 500,
  741. maxForce = Vector3.new(math.huge, 0, math.huge),
  742. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  743. }
  744. if knockback > 0 then
  745. vp.Parent = hit.Parent.Torso
  746. end
  747. game:GetService("Debris"):AddItem(vp, .5)
  748. elseif Type == "Up" then
  749. local bodyVelocity = Create("BodyVelocity"){
  750. velocity = Vector3.new(0, 20, 0),
  751. P = 5000,
  752. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  753. Parent = hit,
  754. }
  755. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  756. elseif Type == "DarkUp" then
  757. coroutine.resume(coroutine.create(function()
  758. for i = 0, 1, 0.1 do
  759. swait()
  760. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  761. end
  762. end))
  763. local bodyVelocity = Create("BodyVelocity"){
  764. velocity = Vector3.new(0, 20, 0),
  765. P = 5000,
  766. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  767. Parent = hit,
  768. }
  769. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  770. elseif Type == "Snare" then
  771. local bp = Create("BodyPosition"){
  772. P = 2000,
  773. D = 100,
  774. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  775. position = hit.Parent.Torso.Position,
  776. Parent = hit.Parent.Torso,
  777. }
  778. game:GetService("Debris"):AddItem(bp, 1)
  779. elseif Type == "Freeze" then
  780. local BodPos = Create("BodyPosition"){
  781. P = 50000,
  782. D = 1000,
  783. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  784. position = hit.Parent.Torso.Position,
  785. Parent = hit.Parent.Torso,
  786. }
  787. local BodGy = Create("BodyGyro") {
  788. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  789. P = 20e+003,
  790. Parent = hit.Parent.Torso,
  791. cframe = hit.Parent.Torso.CFrame,
  792. }
  793. hit.Parent.Torso.Anchored = true
  794. coroutine.resume(coroutine.create(function(Part)
  795. swait(1.5)
  796. Part.Anchored = false
  797. end), hit.Parent.Torso)
  798. game:GetService("Debris"):AddItem(BodPos, 3)
  799. game:GetService("Debris"):AddItem(BodGy, 3)
  800. end
  801. local debounce = Create("BoolValue"){
  802. Name = "DebounceHit",
  803. Parent = hit.Parent,
  804. Value = true,
  805. }
  806. game:GetService("Debris"):AddItem(debounce, Delay)
  807. c = Create("ObjectValue"){
  808. Name = "creator",
  809. Value = Player,
  810. Parent = h,
  811. }
  812. game:GetService("Debris"):AddItem(c, .5)
  813. end
  814. end
  815. -------------------------------------------------------
  816. --End Damage Function--
  817. -------------------------------------------------------
  818.  
  819. -------------------------------------------------------
  820. --Start Damage Function Customization--
  821. -------------------------------------------------------
  822. function ShowDamage(Pos, Text, Time, Color)
  823. local Rate = (1 / 30)
  824. local Pos = (Pos or Vector3.new(0, 0, 0))
  825. local Text = (Text or "")
  826. local Time = (Time or 2)
  827. local Color = (Color or Color3.new(1, 0, 1))
  828. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  829. EffectPart.Anchored = true
  830. local BillboardGui = Create("BillboardGui"){
  831. Size = UDim2.new(3, 0, 3, 0),
  832. Adornee = EffectPart,
  833. Parent = EffectPart,
  834. }
  835. local TextLabel = Create("TextLabel"){
  836. BackgroundTransparency = 1,
  837. Size = UDim2.new(1, 0, 1, 0),
  838. Text = Text,
  839. Font = "Bodoni",
  840. TextColor3 = Color,
  841. TextScaled = true,
  842. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  843. Parent = BillboardGui,
  844. }
  845. game.Debris:AddItem(EffectPart, (Time))
  846. EffectPart.Parent = game:GetService("Workspace")
  847. delay(0, function()
  848. local Frames = (Time / Rate)
  849. for Frame = 1, Frames do
  850. wait(Rate)
  851. local Percent = (Frame / Frames)
  852. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  853. TextLabel.TextTransparency = Percent
  854. end
  855. if EffectPart and EffectPart.Parent then
  856. EffectPart:Destroy()
  857. end
  858. end)
  859. end
  860. -------------------------------------------------------
  861. --End Damage Function Customization--
  862. -------------------------------------------------------
  863.  
  864. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  865. for _, c in pairs(workspace:children()) do
  866. local hum = c:findFirstChild("Humanoid")
  867. if hum ~= nil then
  868. local head = c:findFirstChild("Head")
  869. if head ~= nil then
  870. local targ = head.Position - Part.Position
  871. local mag = targ.magnitude
  872. if magni >= mag and c.Name ~= plr.Name then
  873. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  874. end
  875. end
  876. end
  877. end
  878. end
  879.  
  880.  
  881. CFuncs = {
  882. Part = {
  883. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  884. local Part = Create("Part")({
  885. Parent = Parent,
  886. Reflectance = Reflectance,
  887. Transparency = Transparency,
  888. CanCollide = false,
  889. Locked = true,
  890. BrickColor = BrickColor.new(tostring(BColor)),
  891. Name = Name,
  892. Size = Size,
  893. Material = Material
  894. })
  895. RemoveOutlines(Part)
  896. return Part
  897. end
  898. },
  899. Mesh = {
  900. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  901. local Msh = Create(Mesh)({
  902. Parent = Part,
  903. Offset = OffSet,
  904. Scale = Scale
  905. })
  906. if Mesh == "SpecialMesh" then
  907. Msh.MeshType = MeshType
  908. Msh.MeshId = MeshId
  909. end
  910. return Msh
  911. end
  912. },
  913. Mesh = {
  914. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  915. local Msh = Create(Mesh)({
  916. Parent = Part,
  917. Offset = OffSet,
  918. Scale = Scale
  919. })
  920. if Mesh == "SpecialMesh" then
  921. Msh.MeshType = MeshType
  922. Msh.MeshId = MeshId
  923. end
  924. return Msh
  925. end
  926. },
  927. Weld = {
  928. Create = function(Parent, Part0, Part1, C0, C1)
  929. local Weld = Create("Weld")({
  930. Parent = Parent,
  931. Part0 = Part0,
  932. Part1 = Part1,
  933. C0 = C0,
  934. C1 = C1
  935. })
  936. return Weld
  937. end
  938. },
  939. Sound = {
  940. Create = function(id, par, vol, pit)
  941. coroutine.resume(coroutine.create(function()
  942. local S = Create("Sound")({
  943. Volume = vol,
  944. Pitch = pit or 1,
  945. SoundId = id,
  946. Parent = par or workspace
  947. })
  948. wait()
  949. S:play()
  950. game:GetService("Debris"):AddItem(S, 6)
  951. end))
  952. end
  953. },
  954. ParticleEmitter = {
  955. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  956. local fp = Create("ParticleEmitter")({
  957. Parent = Parent,
  958. Color = ColorSequence.new(Color1, Color2),
  959. LightEmission = LightEmission,
  960. Size = Size,
  961. Texture = Texture,
  962. Transparency = Transparency,
  963. ZOffset = ZOffset,
  964. Acceleration = Accel,
  965. Drag = Drag,
  966. LockedToPart = LockedToPart,
  967. VelocityInheritance = VelocityInheritance,
  968. EmissionDirection = EmissionDirection,
  969. Enabled = Enabled,
  970. Lifetime = LifeTime,
  971. Rate = Rate,
  972. Rotation = Rotation,
  973. RotSpeed = RotSpeed,
  974. Speed = Speed,
  975. VelocitySpread = VelocitySpread
  976. })
  977. return fp
  978. end
  979. }
  980. }
  981. function RemoveOutlines(part)
  982. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  983. end
  984. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  985. local Part = Create("Part")({
  986. formFactor = FormFactor,
  987. Parent = Parent,
  988. Reflectance = Reflectance,
  989. Transparency = Transparency,
  990. CanCollide = false,
  991. Locked = true,
  992. BrickColor = BrickColor.new(tostring(BColor)),
  993. Name = Name,
  994. Size = Size,
  995. Material = Material
  996. })
  997. RemoveOutlines(Part)
  998. return Part
  999. end
  1000. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1001. local Msh = Create(Mesh)({
  1002. Parent = Part,
  1003. Offset = OffSet,
  1004. Scale = Scale
  1005. })
  1006. if Mesh == "SpecialMesh" then
  1007. Msh.MeshType = MeshType
  1008. Msh.MeshId = MeshId
  1009. end
  1010. return Msh
  1011. end
  1012. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1013. local Weld = Create("Weld")({
  1014. Parent = Parent,
  1015. Part0 = Part0,
  1016. Part1 = Part1,
  1017. C0 = C0,
  1018. C1 = C1
  1019. })
  1020. return Weld
  1021. end
  1022.  
  1023.  
  1024. -------------------------------------------------------
  1025. --Start Effect Function--
  1026. -------------------------------------------------------
  1027. EffectModel = Instance.new("Model", char)
  1028. Effects = {
  1029. Block = {
  1030. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1031. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1032. prt.Anchored = true
  1033. prt.CFrame = cframe
  1034. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1035. game:GetService("Debris"):AddItem(prt, 10)
  1036. if Type == 1 or Type == nil then
  1037. table.insert(Effects, {
  1038. prt,
  1039. "Block1",
  1040. delay,
  1041. x3,
  1042. y3,
  1043. z3,
  1044. msh
  1045. })
  1046. elseif Type == 2 then
  1047. table.insert(Effects, {
  1048. prt,
  1049. "Block2",
  1050. delay,
  1051. x3,
  1052. y3,
  1053. z3,
  1054. msh
  1055. })
  1056. else
  1057. table.insert(Effects, {
  1058. prt,
  1059. "Block3",
  1060. delay,
  1061. x3,
  1062. y3,
  1063. z3,
  1064. msh
  1065. })
  1066. end
  1067. end
  1068. },
  1069. Sphere = {
  1070. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1071. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1072. prt.Anchored = true
  1073. prt.CFrame = cframe
  1074. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1075. game:GetService("Debris"):AddItem(prt, 10)
  1076. table.insert(Effects, {
  1077. prt,
  1078. "Cylinder",
  1079. delay,
  1080. x3,
  1081. y3,
  1082. z3,
  1083. msh
  1084. })
  1085. end
  1086. },
  1087. Cylinder = {
  1088. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1089. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1090. prt.Anchored = true
  1091. prt.CFrame = cframe
  1092. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1093. game:GetService("Debris"):AddItem(prt, 10)
  1094. table.insert(Effects, {
  1095. prt,
  1096. "Cylinder",
  1097. delay,
  1098. x3,
  1099. y3,
  1100. z3,
  1101. msh
  1102. })
  1103. end
  1104. },
  1105. Wave = {
  1106. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1107. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1108. prt.Anchored = true
  1109. prt.CFrame = cframe
  1110. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1111. game:GetService("Debris"):AddItem(prt, 10)
  1112. table.insert(Effects, {
  1113. prt,
  1114. "Cylinder",
  1115. delay,
  1116. x3 / 60,
  1117. y3 / 60,
  1118. z3 / 60,
  1119. msh
  1120. })
  1121. end
  1122. },
  1123. Ring = {
  1124. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1125. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1126. prt.Anchored = true
  1127. prt.CFrame = cframe
  1128. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1129. game:GetService("Debris"):AddItem(prt, 10)
  1130. table.insert(Effects, {
  1131. prt,
  1132. "Cylinder",
  1133. delay,
  1134. x3,
  1135. y3,
  1136. z3,
  1137. msh
  1138. })
  1139. end
  1140. },
  1141. Break = {
  1142. Create = function(brickcolor, cframe, x1, y1, z1)
  1143. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1144. prt.Anchored = true
  1145. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1146. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1147. local num = math.random(10, 50) / 1000
  1148. game:GetService("Debris"):AddItem(prt, 10)
  1149. table.insert(Effects, {
  1150. prt,
  1151. "Shatter",
  1152. num,
  1153. prt.CFrame,
  1154. math.random() - math.random(),
  1155. 0,
  1156. math.random(50, 100) / 100
  1157. })
  1158. end
  1159. },
  1160. Spiral = {
  1161. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1162. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1163. prt.Anchored = true
  1164. prt.CFrame = cframe
  1165. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1166. game:GetService("Debris"):AddItem(prt, 10)
  1167. table.insert(Effects, {
  1168. prt,
  1169. "Cylinder",
  1170. delay,
  1171. x3,
  1172. y3,
  1173. z3,
  1174. msh
  1175. })
  1176. end
  1177. },
  1178. Push = {
  1179. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1180. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1181. prt.Anchored = true
  1182. prt.CFrame = cframe
  1183. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1184. game:GetService("Debris"):AddItem(prt, 10)
  1185. table.insert(Effects, {
  1186. prt,
  1187. "Cylinder",
  1188. delay,
  1189. x3,
  1190. y3,
  1191. z3,
  1192. msh
  1193. })
  1194. end
  1195. }
  1196. }
  1197. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1198. local fp = IT("Part")
  1199. fp.formFactor = formfactor
  1200. fp.Parent = parent
  1201. fp.Reflectance = reflectance
  1202. fp.Transparency = transparency
  1203. fp.CanCollide = false
  1204. fp.Locked = true
  1205. fp.BrickColor = brickcolor
  1206. fp.Name = name
  1207. fp.Size = size
  1208. fp.Position = tors.Position
  1209. RemoveOutlines(fp)
  1210. fp.Material = "SmoothPlastic"
  1211. fp:BreakJoints()
  1212. return fp
  1213. end
  1214.  
  1215. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1216. local mesh = IT(Mesh)
  1217. mesh.Parent = part
  1218. if Mesh == "SpecialMesh" then
  1219. mesh.MeshType = meshtype
  1220. if meshid ~= "nil" then
  1221. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1222. end
  1223. end
  1224. mesh.Offset = offset
  1225. mesh.Scale = scale
  1226. return mesh
  1227. end
  1228.  
  1229. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1230. local type = type
  1231. local rng = Instance.new("Part", char)
  1232. rng.Anchored = true
  1233. rng.BrickColor = color
  1234. rng.CanCollide = false
  1235. rng.FormFactor = 3
  1236. rng.Name = "Ring"
  1237. rng.Material = "Neon"
  1238. rng.Size = Vector3.new(1, 1, 1)
  1239. rng.Transparency = 0
  1240. rng.TopSurface = 0
  1241. rng.BottomSurface = 0
  1242. rng.CFrame = pos
  1243. local rngm = Instance.new("SpecialMesh", rng)
  1244. rngm.MeshType = MType
  1245. rngm.Scale = scale
  1246. local scaler2 = 1
  1247. if type == "Add" then
  1248. scaler2 = 1 * value
  1249. elseif type == "Divide" then
  1250. scaler2 = 1 / value
  1251. end
  1252. coroutine.resume(coroutine.create(function()
  1253. for i = 0, 10 / bonuspeed, 0.1 do
  1254. swait()
  1255. if type == "Add" then
  1256. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1257. elseif type == "Divide" then
  1258. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1259. end
  1260. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1261. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1262. end
  1263. rng:Destroy()
  1264. end))
  1265. end
  1266.  
  1267. function Eviscerate(dude)
  1268. if dude.Name ~= char then
  1269. local bgf = IT("BodyGyro", dude.Head)
  1270. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1271. local val = IT("BoolValue", dude)
  1272. val.Name = "IsHit"
  1273. local ds = coroutine.wrap(function()
  1274. dude:WaitForChild("Head"):BreakJoints()
  1275. wait(0.5)
  1276. target = nil
  1277. coroutine.resume(coroutine.create(function()
  1278. for i, v in pairs(dude:GetChildren()) do
  1279. if v:IsA("Accessory") then
  1280. v:Destroy()
  1281. end
  1282. if v:IsA("Humanoid") then
  1283. v:Destroy()
  1284. end
  1285. if v:IsA("CharacterMesh") then
  1286. v:Destroy()
  1287. end
  1288. if v:IsA("Model") then
  1289. v:Destroy()
  1290. end
  1291. if v:IsA("Part") or v:IsA("MeshPart") then
  1292. for x, o in pairs(v:GetChildren()) do
  1293. if o:IsA("Decal") then
  1294. o:Destroy()
  1295. end
  1296. end
  1297. coroutine.resume(coroutine.create(function()
  1298. v.Material = "Neon"
  1299. v.CanCollide = false
  1300. local PartEmmit1 = IT("ParticleEmitter", v)
  1301. PartEmmit1.LightEmission = 1
  1302. PartEmmit1.Texture = "rbxassetid://284205403"
  1303. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1304. PartEmmit1.Rate = 150
  1305. PartEmmit1.Lifetime = NumberRange.new(1)
  1306. PartEmmit1.Size = NumberSequence.new({
  1307. NumberSequenceKeypoint.new(0, 0.75, 0),
  1308. NumberSequenceKeypoint.new(1, 0, 0)
  1309. })
  1310. PartEmmit1.Transparency = NumberSequence.new({
  1311. NumberSequenceKeypoint.new(0, 0, 0),
  1312. NumberSequenceKeypoint.new(1, 1, 0)
  1313. })
  1314. PartEmmit1.Speed = NumberRange.new(0, 0)
  1315. PartEmmit1.VelocitySpread = 30000
  1316. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1317. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1318. local BodPoss = IT("BodyPosition", v)
  1319. BodPoss.P = 3000
  1320. BodPoss.D = 1000
  1321. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1322. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1323. v.Color = maincolor.Color
  1324. coroutine.resume(coroutine.create(function()
  1325. for i = 0, 49 do
  1326. swait(1)
  1327. v.Transparency = v.Transparency + 0.08
  1328. end
  1329. wait(0.5)
  1330. PartEmmit1.Enabled = false
  1331. wait(3)
  1332. v:Destroy()
  1333. dude:Destroy()
  1334. end))
  1335. end))
  1336. end
  1337. end
  1338. end))
  1339. end)
  1340. ds()
  1341. end
  1342. end
  1343.  
  1344. function FindNearestHead(Position, Distance, SinglePlayer)
  1345. if SinglePlayer then
  1346. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1347. end
  1348. local List = {}
  1349. for i, v in pairs(workspace:GetChildren()) do
  1350. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1351. table.insert(List, v)
  1352. end
  1353. end
  1354. return List
  1355. end
  1356.  
  1357. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1358. local type = type
  1359. local rng = Instance.new("Part", char)
  1360. rng.Anchored = true
  1361. rng.BrickColor = color
  1362. rng.CanCollide = false
  1363. rng.FormFactor = 3
  1364. rng.Name = "Ring"
  1365. rng.Material = "Neon"
  1366. rng.Size = Vector3.new(1, 1, 1)
  1367. rng.Transparency = 0
  1368. rng.TopSurface = 0
  1369. rng.BottomSurface = 0
  1370. rng.CFrame = pos
  1371. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1372. local rngm = Instance.new("SpecialMesh", rng)
  1373. rngm.MeshType = MType
  1374. rngm.Scale = Vector3.new(x1, y1, z1)
  1375. local scaler2 = 1
  1376. local speeder = FastSpeed
  1377. if type == "Add" then
  1378. scaler2 = 1 * value
  1379. elseif type == "Divide" then
  1380. scaler2 = 1 / value
  1381. end
  1382. coroutine.resume(coroutine.create(function()
  1383. for i = 0, 10 / bonuspeed, 0.1 do
  1384. swait()
  1385. if type == "Add" then
  1386. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1387. elseif type == "Divide" then
  1388. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1389. end
  1390. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1391. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1392. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1393. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1394. end
  1395. rng:Destroy()
  1396. end))
  1397. end
  1398.  
  1399. function SoulSteal(dude)
  1400. if dude.Name ~= char then
  1401. local bgf = IT("BodyGyro", dude.Head)
  1402. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1403. local val = IT("BoolValue", dude)
  1404. val.Name = "IsHit"
  1405. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1406. local soulst = coroutine.wrap(function()
  1407. local soul = Instance.new("Part",dude)
  1408. soul.Size = Vector3.new(1,1,1)
  1409. soul.CanCollide = false
  1410. soul.Anchored = false
  1411. soul.Position = torso.Position
  1412. soul.Transparency = 1
  1413. local PartEmmit1 = IT("ParticleEmitter", soul)
  1414. PartEmmit1.LightEmission = 1
  1415. PartEmmit1.Texture = "rbxassetid://569507414"
  1416. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1417. PartEmmit1.Rate = 250
  1418. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1419. PartEmmit1.Size = NumberSequence.new({
  1420. NumberSequenceKeypoint.new(0, 1, 0),
  1421. NumberSequenceKeypoint.new(1, 0, 0)
  1422. })
  1423. PartEmmit1.Transparency = NumberSequence.new({
  1424. NumberSequenceKeypoint.new(0, 0, 0),
  1425. NumberSequenceKeypoint.new(1, 1, 0)
  1426. })
  1427. PartEmmit1.Speed = NumberRange.new(0, 0)
  1428. PartEmmit1.VelocitySpread = 30000
  1429. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1430. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1431. local BodPoss = IT("BodyPosition", soul)
  1432. BodPoss.P = 3000
  1433. BodPoss.D = 1000
  1434. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1435. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1436. wait(1.6)
  1437. soul.Touched:connect(function(hit)
  1438. if hit.Parent == char then
  1439. soul:Destroy()
  1440. end
  1441. end)
  1442. wait(1.2)
  1443. while soul do
  1444. swait()
  1445. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1446. BodPoss.Position = tors.Position
  1447. end
  1448. end)
  1449. soulst()
  1450. end
  1451. end
  1452. function FaceMouse()
  1453. local Cam = workspace.CurrentCamera
  1454. return {
  1455. CFrame.new(char.Torso.Position, Vector3.new(Mouse.Hit.p.x, char.Torso.Position.y, Mouse.Hit.p.z)),
  1456. Vector3.new(Mouse.Hit.p.x, Mouse.Hit.p.y, Mouse.Hit.p.z)
  1457. }
  1458. end
  1459. -------------------------------------------------------
  1460. --Teleport--
  1461. -------------------------------------------------------
  1462. g1 = Instance.new("BodyGyro", root)
  1463. g1.D = 175
  1464. g1.P = 20000
  1465. attacking = false
  1466. tps = Instance.new("Sound", neck)
  1467. tps.Volume = 5
  1468. tps.SoundId = "rbxassetid://1894958339"
  1469. tps:Play()
  1470. removeuseless = game:GetService("Debris")
  1471. function teleport()
  1472. if mouse.Target ~= nil then
  1473. attacking = true
  1474. tps = Instance.new("Sound", neck)
  1475. tps.Volume = 5
  1476. tps.SoundId = "rbxassetid://1894958339"
  1477. tps:Play()
  1478. removeuseless:AddItem(tps,2)
  1479. g1 = Instance.new("BodyGyro", root)
  1480. g1.D = 175
  1481. g1.P = 20000
  1482. g1.MaxTorque = Vector3.new(0,9000,0)
  1483. g1.CFrame = CFrame.new(root.Position,mouse.Hit.p)
  1484. removeuseless:AddItem(g1,.05)
  1485. root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0)
  1486. wait(.1)
  1487. attacking = false
  1488. end
  1489. end
  1490. ---------------------------------------------------
  1491. --End Teleport--
  1492. ---------------------------------------------------
  1493. function Cso(ID, PARENT, VOLUME, PITCH)
  1494. local NSound = nil
  1495. coroutine.resume(coroutine.create(function()
  1496. NSound = IT("Sound", PARENT)
  1497. NSound.Volume = VOLUME
  1498. NSound.Pitch = PITCH
  1499. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1500. swait()
  1501. NSound:play()
  1502. game:GetService("Debris"):AddItem(NSound, 10)
  1503. end))
  1504. return NSound
  1505. end
  1506. function CameraEnshaking(Length, Intensity)
  1507. coroutine.resume(coroutine.create(function()
  1508. local intensity = 1 * Intensity
  1509. local rotM = 0.01 * Intensity
  1510. for i = 0, Length, 0.1 do
  1511. swait()
  1512. intensity = intensity - 0.05 * Intensity / Length
  1513. rotM = rotM - 5.0E-4 * Intensity / Length
  1514. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1515. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1516. end
  1517. hum.CameraOffset = Vector3.new(0, 0, 0)
  1518. end))
  1519. end
  1520. function getRegion(point,range,ignore)
  1521. return workspace:FindPartsInRegion3WithIgnoreList(Region3.new(point-Vector3.new(1,1,1)*range/2,point+Vector3.new(1,1,1)*range/2),ignore,100)
  1522. end
  1523.  
  1524. function GetTorso(char)
  1525. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1526. end
  1527.  
  1528. 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}
  1529.  
  1530. NewInstance = function(instance,parent,properties)
  1531. local inst = Instance.new(instance)
  1532. inst.Parent = parent
  1533. if(properties)then
  1534. for i,v in next, properties do
  1535. pcall(function() inst[i] = v end)
  1536. end
  1537. end
  1538. return inst;
  1539. end
  1540.  
  1541. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1542. local part = Instance.new("Part")
  1543. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or Color3.new(0,0,0)
  1544. part.Material = material or Enum.Material.SmoothPlastic
  1545. part.TopSurface,part.BottomSurface=10,10
  1546. part.Size = size or Vector3.new(1,1,1)
  1547. part.CFrame = cframe or CF(0,0,0)
  1548. part.Anchored = anchored or true
  1549. part.CanCollide = cancollide or false
  1550. part.Parent = parent or char
  1551. return part
  1552. end
  1553. -------------------------------------------------------
  1554. --End Important Functions--
  1555. -------------------------------------------------------
  1556.  
  1557.  
  1558. -------------------------------------------------------
  1559. --Start Customization--
  1560. -------------------------------------------------------
  1561. local Player_Size = 1
  1562. if Player_Size ~= 1 then
  1563. root.Size = root.Size * Player_Size
  1564. tors.Size = tors.Size * Player_Size
  1565. hed.Size = hed.Size * Player_Size
  1566. ra.Size = ra.Size * Player_Size
  1567. la.Size = la.Size * Player_Size
  1568. rl.Size = rl.Size * Player_Size
  1569. ll.Size = ll.Size * Player_Size
  1570. ----------------------------------------------------------------------------------
  1571. rootj.Parent = root
  1572. neck.Parent = tors
  1573. RW.Parent = tors
  1574. LW.Parent = tors
  1575. RH.Parent = tors
  1576. LH.Parent = tors
  1577. ----------------------------------------------------------------------------------
  1578. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1579. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1580. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1581. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1582. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1583. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1584. ----------------------------------------------------------------------------------
  1585. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1586. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1587. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1588. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1589. --hat.Parent = Character
  1590. end
  1591. ----------------------------------------------------------------------------------
  1592. local SONG = 4810402861
  1593. local SONG2 = 0
  1594. local Music = Instance.new("Sound",tors)
  1595. Music.Volume = 2.5
  1596. Music.Looped = true
  1597. Music.Pitch = 1 --Pitcher
  1598. ----------------------------------------------------------------------------------
  1599. local equipped = false
  1600. local idle = 0
  1601. local change = 1
  1602. local val = 0
  1603. local toim = 0
  1604. local idleanim = 0.4
  1605. local sine = 0
  1606. local Sit = 1
  1607. ----------------------------------------------------------------------------------
  1608. hum.WalkSpeed = 16
  1609. hum.JumpPower = 57
  1610. hum.Animator.Parent = nil
  1611. -------------------------------------------------------
  1612. --End Customization--
  1613. -------------------------------------------------------
  1614.  
  1615. -------------------------------------------------------
  1616. --Start Attacks N Stuff--
  1617. -------------------------------------------------------
  1618. function DRAG_THEM_TO_HELL()
  1619. local chatmath = math.random(1,3)
  1620. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1621. local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1622. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1623. local HEAD = HUM.Parent:FindFirstChild("Head")
  1624. if HEAD and TORSO and HUM.Health > 0 then
  1625. local GYRO = IT("BodyGyro",root)
  1626. GYRO.D = 275
  1627. GYRO.P = 20000
  1628. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1629. attack = true
  1630. hum.WalkSpeed = 16
  1631. local hit,pos,hummie;
  1632. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1633. Hook.Transparency = 1
  1634. local A = NewInstance("Attachment",Hook)
  1635. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1636. local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(0,255,255),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://614117108",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  1637. local POS = mouse.Hit.p
  1638. local CHAINS = false
  1639. local CHAINLINKS = {}
  1640. local A = IT("Attachment",ra)
  1641. A.Position = Vector3.new(1,-1,0)*Player_Size
  1642. A.Orientation = Vector3.new(-90, -89.982, 0)
  1643. local B = IT("Attachment",ra)
  1644. B.Position = Vector3.new(-1,-1,0)*Player_Size
  1645. B.Orientation = Vector3.new(-90, 89.988, 0)
  1646. local C = IT("Attachment",ra)
  1647. C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
  1648. C.Orientation = Vector3.new(-90, -89.982, 0)
  1649. local D = IT("Attachment",ra)
  1650. D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
  1651. D.Orientation = Vector3.new(-90, 89.988, 0)
  1652. local LIGHT = IT("Attachment",ra)
  1653. LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
  1654. local LIGHT2 = IT("PointLight",LIGHT)
  1655. LIGHT2.Range = 7
  1656. LIGHT2.Brightness = 5
  1657. LIGHT2.Color = Color3.new(0,0,0)
  1658. for i = 1, 2 do
  1659. local TWIST = -2
  1660. local START = A
  1661. local END = B
  1662. if i == 1 then
  1663. START = B
  1664. END = A
  1665. end
  1666. local ChainLink = IT("Beam",tors)
  1667. ChainLink.Texture = "rbxassetid://614117108"
  1668. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0,255,255))
  1669. ChainLink.TextureSpeed = 1
  1670. ChainLink.Width0 = 1
  1671. ChainLink.Width1 = 1
  1672. ChainLink.TextureLength = 2.5
  1673. ChainLink.Attachment0 = START
  1674. ChainLink.Attachment1 = END
  1675. ChainLink.CurveSize0 = TWIST
  1676. ChainLink.CurveSize1 = TWIST
  1677. --ChainLink.FaceCamera = true
  1678. ChainLink.Segments = 45
  1679. ChainLink.Transparency = NumberSequence.new(0.25)
  1680. table.insert(CHAINLINKS,ChainLink)
  1681. end
  1682. for i = 1, 2 do
  1683. local TWIST = -1
  1684. local START = C
  1685. local END = D
  1686. if i == 1 then
  1687. START = D
  1688. END = C
  1689. end
  1690. local ChainLink = IT("Beam",tors)
  1691. ChainLink.Texture = "rbxassetid://614117108"
  1692. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0,255,255))
  1693. ChainLink.TextureSpeed = 1
  1694. ChainLink.Width0 = 1
  1695. ChainLink.Width1 = 1
  1696. ChainLink.TextureLength = 5
  1697. ChainLink.Attachment0 = START
  1698. ChainLink.Attachment1 = END
  1699. ChainLink.CurveSize0 = TWIST
  1700. ChainLink.CurveSize1 = TWIST
  1701. --ChainLink.FaceCamera = true
  1702. ChainLink.Segments = 25
  1703. ChainLink.LightEmission = 0.5
  1704. ChainLink.Transparency = NumberSequence.new(0.25)
  1705. table.insert(CHAINLINKS,ChainLink)
  1706. end
  1707. for i = 0, 2.3, .1 do
  1708. swait()
  1709. GYRO.cframe = CF(root.Position,TORSO.Position)
  1710. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(-45)), 0.15)
  1711. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3)
  1712. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1713. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1714. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(25)), 0.1)
  1715. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1716. end
  1717. Cso("169105657", ra, 7, 1.2)
  1718. for i = 0, 4, .1 do
  1719. if(hit)then break end
  1720. swait()
  1721. GYRO.cframe = CF(root.Position,TORSO.Position)
  1722. Hook.CFrame = HEAD.CFrame
  1723. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(5), Rad(45)), 0.15)
  1724. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-45)), 0.3)
  1725. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1726. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1727. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1)
  1728. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1729. end
  1730. for _,v in next, getRegion(Hook.Position,1,{char}) do
  1731. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1732. hit = GetTorso(v.Parent);
  1733. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1734. break;
  1735. end
  1736. end
  1737. Cso("169105657", ra, 5, .8)
  1738. Cso("131228548", tors, 2, 1.1)
  1739. GYRO:remove()
  1740. if chatmath == 1 then
  1741. chatfunc("HeLlO bAcK")
  1742. end
  1743. if chatmath == 2 then
  1744. chatfunc("YoU dOnT eScApE")
  1745. end
  1746. if chatmath == 3 then
  1747. chatfunc("HeH nOpE")
  1748. end
  1749. for i = 0, 3, .1 do
  1750. swait()
  1751. HUM.PlatformStand = true
  1752. Hook.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
  1753. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  1754. end
  1755. if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
  1756. break
  1757. end
  1758. Chain.TextureLength = 4
  1759. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(-5), Rad(-45)), 0.15)
  1760. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3)
  1761. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
  1762. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(10)), 0.15)
  1763. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1)
  1764. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(30), Rad(-.6), Rad(-25)), 0.1)
  1765. end
  1766. hum.WalkSpeed = 16
  1767. attack = false
  1768. Hook:Destroy()
  1769. A:remove()
  1770. B:remove()
  1771. C:remove()
  1772. D:remove()
  1773. end
  1774. end
  1775. end
  1776. --------------------------------------------------------
  1777. --------------------------------------------------------
  1778. --------------------------------------------------------
  1779. --------------------------------------------------------
  1780. --------------------------------------------------------
  1781. --------------------------------------------------------
  1782. --------------------------------------------------------
  1783. laff = Instance.new("Sound",hed)
  1784. tauntdebounce = false
  1785. function taunt()
  1786. if tauntdebounce then return end
  1787. tauntdebounce = true
  1788. local b1 = Instance.new("BillboardGui",hed)
  1789. b1.Size = UDim2.new(0,4,0,1.6)
  1790. b1.StudsOffset = Vector3.new(0,0,0)
  1791. b1.Name = "laff"
  1792. b1.AlwaysOnTop = true
  1793. b1.StudsOffset = Vector3.new(0,2,0)
  1794. b1.Adornee = hed
  1795. removeuseless:AddItem(b1,3)
  1796. local b2 = Instance.new("TextLabel",b1)
  1797. b2.BackgroundTransparency = 1
  1798. b2.Text = "Hehe...."
  1799. b2.Font = "Arcade"
  1800. b2.TextSize = 30
  1801. b2.Name = "lafftext"
  1802. b2.TextStrokeTransparency = 0
  1803. b2.TextColor3 = BrickColor.new("Grey").Color
  1804. b2.TextStrokeColor3 = Color3.new(0,0,0)
  1805. b2.Size = UDim2.new(1,0,.5,0)
  1806. laff = Instance.new("Sound",hed)
  1807. laff.SoundId = "rbxassetid://2126502539"
  1808. laff.Volume = 5
  1809. laff:Play()
  1810. wait(5)
  1811. laff:Remove()
  1812. tauntdebounce = false
  1813. end
  1814. --------------------------------------------------------
  1815. --------------------------------------------------------
  1816. --------------------------------------------------------
  1817. --------------------------------------------------------
  1818. --------------------------------------------------------
  1819. --------------------------------------------------------
  1820. --------------------------------------------------------
  1821. --------------------------------------------------------
  1822. local blastsound = Instance.new("Sound",char.Torso)
  1823. blastsound.Name = "blast_sound"
  1824. blastsound.SoundId = "rbxassetid://345052019"
  1825. blastsound.Volume = 4
  1826. function Blast()
  1827. local chatmath = math.random(1,3)
  1828. if chatmath == 1 then
  1829. chatfunc("DiE")
  1830. end
  1831. if chatmath == 2 then
  1832. chatfunc("YoU gEt It")
  1833. end
  1834. if chatmath == 3 then
  1835. chatfunc("No MeRcY")
  1836. end
  1837. local gasterblaster = Instance.new("Part",char.Torso)
  1838. gasterblaster.Size = Vector3.new(7, 16, 4)
  1839. gasterblaster.CanCollide = false
  1840. local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
  1841. gasterblastermesh.MeshId = "rbxassetid://694456873"
  1842. gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
  1843. local gasterblastertexture = Instance.new("Decal",gasterblaster)
  1844. gasterblastertexture.Face = "Back"
  1845. local weeld = Instance.new("Weld",gasterblaster)
  1846. weeld.Part0 = gasterblaster
  1847. weeld.Part1 = char.Torso
  1848. weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
  1849. blastsound:Play()
  1850. char.Head.Anchored = true
  1851. wait(1)
  1852. local blast = Instance.new("Part",gasterblaster)
  1853. blast.Size = Vector3.new(18.07, 16.36, 73.54)
  1854. blast.Transparency = 0.7
  1855. blast.Material = "Neon"
  1856. blast.Color = Color3.new(0,0,0)
  1857. blast.CanCollide = true
  1858. local blastweld = Instance.new("Weld",blast)
  1859. blastweld.Part0 = blast
  1860. blastweld.Part1 = gasterblaster
  1861. blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1862. blast.Touched:connect(function(part)
  1863. part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
  1864. Cso("973028066", tors, 2, 1)
  1865. end)
  1866. wait(2)
  1867. char.Head.Anchored = false
  1868. blast:Destroy()
  1869. gasterblaster:Destroy()
  1870. end
  1871. mouse.KeyDown:connect(Blast)
  1872. --------------------------------------------------------
  1873. --------------------------------------------------------
  1874. --------------------------------------------------------
  1875. --------------------------------------------------------
  1876. --------------------------------------------------------
  1877. --------------------------------------------------------
  1878. --------------------------------------------------------
  1879. function DRAG_YOURSELF_TO_HELL()
  1880. local chatmath = math.random(1,3)
  1881. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1882. local HUM = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1883. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1884. local HEAD = HUM.Parent:FindFirstChild("Head")
  1885. if HEAD and TORSO and HUM.Health > 0 then
  1886. local GYRO = IT("BodyGyro",root)
  1887. GYRO.D = 275
  1888. GYRO.P = 20000
  1889. GYRO.MaxTorque = Vector3.new(0,40000,0)
  1890. attack = true
  1891. hum.WalkSpeed = 16
  1892. local hit,pos,hummie;
  1893. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  1894. Hook.Transparency = 1
  1895. local A = NewInstance("Attachment",Hook)
  1896. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  1897. local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(0,255,255),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://614117108",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  1898. local POS = mouse.Hit.p
  1899. local CHAINS = false
  1900. local CHAINLINKS = {}
  1901. local A = IT("Attachment",ra)
  1902. A.Position = Vector3.new(1,-1,0)*Player_Size
  1903. A.Orientation = Vector3.new(-90, -89.982, 0)
  1904. local B = IT("Attachment",ra)
  1905. B.Position = Vector3.new(-1,-1,0)*Player_Size
  1906. B.Orientation = Vector3.new(-90, 89.988, 0)
  1907. local C = IT("Attachment",ra)
  1908. C.Position = Vector3.new(0.5,-1.3,0)*Player_Size
  1909. C.Orientation = Vector3.new(-90, -89.982, 0)
  1910. local D = IT("Attachment",ra)
  1911. D.Position = Vector3.new(-0.5,-1.3,0)*Player_Size
  1912. D.Orientation = Vector3.new(-90, 89.988, 0)
  1913. local LIGHT = IT("Attachment",ra)
  1914. LIGHT.Position = Vector3.new(0,-1,0)*Player_Size
  1915. local LIGHT2 = IT("PointLight",LIGHT)
  1916. LIGHT2.Range = 7
  1917. LIGHT2.Brightness = 5
  1918. LIGHT2.Color = Color3.new(0,0,0)
  1919. for i = 1, 2 do
  1920. local TWIST = -2
  1921. local START = A
  1922. local END = B
  1923. if i == 1 then
  1924. START = B
  1925. END = A
  1926. end
  1927. local ChainLink = IT("Beam",tors)
  1928. ChainLink.Texture = "rbxassetid://614117108"
  1929. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0,255,255))
  1930. ChainLink.TextureSpeed = 1
  1931. ChainLink.Width0 = 1
  1932. ChainLink.Width1 = 1
  1933. ChainLink.TextureLength = 2.5
  1934. ChainLink.Attachment0 = START
  1935. ChainLink.Attachment1 = END
  1936. ChainLink.CurveSize0 = TWIST
  1937. ChainLink.CurveSize1 = TWIST
  1938. --ChainLink.FaceCamera = true
  1939. ChainLink.Segments = 45
  1940. ChainLink.Transparency = NumberSequence.new(0.25)
  1941. table.insert(CHAINLINKS,ChainLink)
  1942. end
  1943. for i = 1, 2 do
  1944. local TWIST = -1
  1945. local START = C
  1946. local END = D
  1947. if i == 1 then
  1948. START = D
  1949. END = C
  1950. end
  1951. local ChainLink = IT("Beam",tors)
  1952. ChainLink.Texture = "rbxassetid://614117108"
  1953. ChainLink.Color = ColorSequence.new(Color3.fromRGB(0,255,255))
  1954. ChainLink.TextureSpeed = 1
  1955. ChainLink.Width0 = 1
  1956. ChainLink.Width1 = 1
  1957. ChainLink.TextureLength = 5
  1958. ChainLink.Attachment0 = START
  1959. ChainLink.Attachment1 = END
  1960. ChainLink.CurveSize0 = TWIST
  1961. ChainLink.CurveSize1 = TWIST
  1962. --ChainLink.FaceCamera = true
  1963. ChainLink.Segments = 25
  1964. ChainLink.LightEmission = 0.5
  1965. ChainLink.Transparency = NumberSequence.new(0.25)
  1966. table.insert(CHAINLINKS,ChainLink)
  1967. end
  1968. for i = 0, 2.3, .1 do
  1969. swait()
  1970. GYRO.cframe = CF(root.Position,TORSO.Position)
  1971. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(15), Rad(0), Rad(-45)), 0.15)
  1972. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(45)), 0.3)
  1973. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1974. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1975. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(25)), 0.1)
  1976. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1977. end
  1978. Cso("169105657", ra, 7, 1.2)
  1979. for i = 0, 4, .1 do
  1980. if(hit)then break end
  1981. swait()
  1982. GYRO.cframe = CF(root.Position,TORSO.Position)
  1983. Hook.CFrame = HEAD.CFrame
  1984. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(5), Rad(45)), 0.15)
  1985. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-5 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-45)), 0.3)
  1986. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1987. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-10)), 0.15)
  1988. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(45)), 0.1)
  1989. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-30), Rad(-.6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1990. end
  1991. for _,v in next, getRegion(Hook.Position,1,{char}) do
  1992. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  1993. hit = GetTorso(v.Parent);
  1994. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  1995. break;
  1996. end
  1997. end
  1998. Cso("169105657", ra, 5, .8)
  1999. Cso("271693128", tors, 2, 1)
  2000. GYRO:remove()
  2001. if chatmath == 1 then
  2002. chatfunc("HeLlO")
  2003. end
  2004. if chatmath == 2 then
  2005. chatfunc("HeHeHe...")
  2006. Cso("2126502539",neck, 2, 1)
  2007. end
  2008. if chatmath == 3 then
  2009. chatfunc("I cOmInG yOu")
  2010. end
  2011. for i = 0, 3, .1 do
  2012. swait()
  2013. root.CFrame = Hook.CFrame:lerp(ra.CFrame * CF(0, 0, -1), .2)
  2014. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  2015. end
  2016. if((Hook.CFrame.p-ra.CFrame.p).magnitude < 2)then
  2017. break
  2018. end
  2019. Chain.TextureLength = 4
  2020. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(90), Rad(-5), Rad(0)), 0.15)
  2021. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2022. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2023. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2024. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(0), Rad(-.6), Rad(25)), 0.1)
  2025. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(-25)), 0.1)
  2026. end
  2027. hum.WalkSpeed = 16
  2028. attack = false
  2029. Hook:Destroy()
  2030. A:remove()
  2031. B:remove()
  2032. C:remove()
  2033. D:remove()
  2034. end
  2035. end
  2036. end
  2037. --------------------------------------------------------
  2038. --------------------------------------------------------
  2039. --------------------------------------------------------
  2040. function damage(range,mindam,maxdam,pos)
  2041. for i,v in ipairs(workspace:GetChildren()) do
  2042. if v:IsA("Model") then
  2043. if v.Name ~= Player.Name then
  2044. if v:FindFirstChildOfClass("Humanoid") then
  2045. if v:FindFirstChild("Head") then
  2046. if (v:FindFirstChild("Head").Position - pos).magnitude < 10 then
  2047. if v:FindFirstChildOfClass("Humanoid").Health > 5000 then v:FindFirstChildOfClass("Humanoid").Health = 0 else
  2048. v:FindFirstChildOfClass("Humanoid").Health = v:FindFirstChildOfClass("Humanoid").Health - math.random(mindam,maxdam)
  2049. end
  2050. end
  2051. end
  2052. end
  2053. end
  2054. end
  2055. end
  2056. end
  2057. --------------------------------------------------------
  2058. --------------------------------------------------------
  2059. function SkyBone()
  2060. attack = true
  2061. spawn(function()
  2062. local p = Instance.new("Part",char)
  2063. p.Anchored = true
  2064. p.CanCollide = false
  2065. p.CFrame = CFrame.new(mouse.Hit.p+Vector3.new(0,100,0))
  2066. local m = Instance.new("SpecialMesh",p)
  2067. m.MeshId = "rbxassetid://2520762076"
  2068. m.TextureId = "http://www.roblox.com/asset/?id=979059127"
  2069. m.Scale = Vector3.new(0.1,0.1,0.1)
  2070. for i=1,30 do
  2071. p.CFrame = p.CFrame-Vector3.new(0,3.3333,0)
  2072. p.CFrame = p.CFrame * CFrame.Angles(0.5,0,0)
  2073. wait()
  2074. end
  2075. local beam = Instance.new("Part",char)
  2076. beam.Anchored = true
  2077. beam.CanCollide = false
  2078. beam.BrickColor = BrickColor.new("Black")
  2079. beam.Material = Enum.Material.Neon
  2080. beam.Size = Vector3.new(1,1,1)
  2081. beam.Position = p.Position+Vector3.new(0,1000,0)
  2082. beam.CFrame = beam.CFrame * CFrame.Angles(0,0,89.5354)
  2083. local m = Instance.new("SpecialMesh",beam)
  2084. m.MeshType = "Cylinder"
  2085. m.Scale = Vector3.new(2000,15,15)
  2086. damage(6,20,35,p.Position)
  2087. p.Transparency = 1
  2088. CFuncs.Sound.Create("rbxassetid://440145223", p, 10, 1)
  2089. for i=1,10 do
  2090. m.Scale = m.Scale-Vector3.new(0,1,1)
  2091. beam.Transparency = i / 10
  2092. wait()
  2093. end
  2094. p:Destroy()
  2095. end)
  2096. attack = false
  2097. end
  2098. --------------------------------------------------------
  2099. --------------------------------------------------------
  2100. --------------------------------------------------------
  2101. --------------------------------------------------------
  2102. --------------------------------------------------------
  2103. --------------------------------------------------------
  2104. --------------------------------------------------------
  2105. --------------------------------------------------------
  2106. --------------------------------------------------------
  2107. --------------------------------------------------------
  2108. function GIMME_THOSE()
  2109. local chatmath = math.random(1,3)
  2110. if Mouse.Target.Parent ~= char and Mouse.Target.Parent.Parent ~= char and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2111. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2112. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2113. local HEAD = HUM.Parent:FindFirstChild("Head")
  2114. local RIGHTARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightLowerArm")
  2115. local LEFTARM = HUM.Parent:FindFirstChild("Left Arm") or HUM.Parent:FindFirstChild("LeftLowerArm")
  2116. if HEAD and TORSO and HUM.Health > 0 then
  2117. local GYRO = IT("BodyGyro",root)
  2118. GYRO.D = 275
  2119. GYRO.P = 20000
  2120. GYRO.MaxTorque = Vector3.new(0,40000,0)
  2121. attack = true
  2122. hum.WalkSpeed = 0
  2123. local hit,pos,hummie;
  2124. local Hook = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  2125. local Hook2 = Part(EffectModel, Color3.new(),Enum.Material.Neon,Vector3.new(.05,.05,.05),root.CFrame,true,false)
  2126. Hook.Transparency = 1
  2127. Hook2.Transparency = 1
  2128. local A = NewInstance("Attachment",Hook)
  2129. local B = NewInstance("Attachment",ra,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  2130. local A2 = NewInstance("Attachment",Hook2)
  2131. local B2 = NewInstance("Attachment",la,{Position = Vector3.new(0,-ra.Size.Y/2,0)})
  2132. local Chain = NewInstance("Beam",Hook,{Attachment0 = A,Attachment1=B,Color = Color3.fromRGB(0,255,255),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://614117108",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  2133. local Chain2 = NewInstance("Beam",Hook2,{Attachment0 = A2,Attachment1=B2,Color = Color3.fromRGB(0,255,255),FaceCamera=true,LightInfluence=0,Texture="rbxassetid://614117108",TextureLength=5,Transparency=NumberSequence.new(0),TextureSpeed=0,CurveSize0=0,CurveSize1=0,FaceCamera=true,Segments=10,Width0=1,Width1=1})
  2134. for i = 0, 2.3, .1 do
  2135. swait()
  2136. GYRO.cframe = CF(root.Position,TORSO.Position)
  2137. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  2138. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2139. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2140. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2141. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(25)), 0.1)
  2142. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2143. end
  2144. Cso("169105657", ra, 7, 1.2)
  2145. for i = 0, 5, .1 do
  2146. if(hit)then break end
  2147. swait()
  2148. GYRO.cframe = CF(root.Position,TORSO.Position)
  2149. Hook.CFrame = TORSO.CFrame
  2150. Hook2.CFrame = TORSO.CFrame
  2151. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(7), Rad(0), Rad(0)), 0.15)
  2152. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2153. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2154. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-7)), 0.15)
  2155. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(25)), 0.1)
  2156. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2157. end
  2158. for _,v in next, getRegion(Hook.Position,1,{char}) do
  2159. if(v.Parent and GetTorso(v.Parent) and v.Parent:FindFirstChildOfClass'Humanoid')then
  2160. hit = GetTorso(v.Parent);
  2161. hummie = v.Parent:FindFirstChildOfClass'Humanoid';
  2162. break;
  2163. end
  2164. end
  2165. Cso("169105657", ra, 5, .8)
  2166. Cso("973028066", TORSO, 2, 1)
  2167. GYRO:remove()
  2168. TORSO:BreakJoints()
  2169. if chatmath == 1 then
  2170. chatfunc("HeHeHe...")
  2171. Cso("2126502539",neck, 2, 1)
  2172. end
  2173. if chatmath == 2 then
  2174. chatfunc("YoU jUsT dIe")
  2175. end
  2176. if chatmath == 3 then
  2177. chatfunc("ThIs Is My RoPe")
  2178. end
  2179. for i = 0, 6, .1 do
  2180. swait()
  2181. Hook.CFrame = Hook.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  2182. if(hit)then hit.CFrame = Hook.CFrame; hit.Velocity = Vector3.new()
  2183. end
  2184. if((Hook.CFrame.p-tors.CFrame.p).magnitude < 2)then
  2185. break
  2186. end
  2187. Hook2.CFrame = Hook2.CFrame:lerp(tors.CFrame * CF(0, 0, -1), .2)
  2188. if(hit)then hit.CFrame = Hook2.CFrame; hit.Velocity = Vector3.new()
  2189. end
  2190. if((Hook2.CFrame.p-tors.CFrame.p).magnitude < 2)then
  2191. break
  2192. end
  2193. Chain.TextureLength = 4
  2194. Chain2.TextureLength = 4
  2195. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-7), Rad(0), Rad(0)), 0.15)
  2196. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2197. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(90)), 0.15)
  2198. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(7)), 0.15)
  2199. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(25)), 0.1)
  2200. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0.4* Player_Size) * angles(Rad(90), Rad(-.6), Rad(-25)), 0.1)
  2201. end
  2202. hum.WalkSpeed = 16
  2203. attack = false
  2204. Hook2:Destroy()
  2205. Hook:Destroy()
  2206. end
  2207. end
  2208. end
  2209. -------------------------------------------------------
  2210. --End Attacks N Stuff--
  2211. -------------------------------------------------------
  2212. Mouse.KeyDown:connect(function(key)
  2213. if attack == false then
  2214. if key == 'b' then
  2215. DRAG_THEM_TO_HELL()
  2216. elseif key == 'v' then
  2217. DRAG_YOURSELF_TO_HELL()
  2218. elseif key == 'c' then
  2219. GIMME_THOSE()
  2220. elseif key == 't' then
  2221. teleport()
  2222. elseif key == 'f' then
  2223. Blast()
  2224. elseif key == 'r' then
  2225. taunt()
  2226. elseif key == 'z' then
  2227. SkyBone()
  2228. end
  2229. end
  2230. end)
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238. -------------------------------------------------------
  2239. --Start Animations--
  2240. -------------------------------------------------------
  2241. print("By EnderPlayBro")
  2242. while true do
  2243. swait()
  2244. sine = sine + change
  2245. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2246. local velderp = root.Velocity.y
  2247. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2248. if equipped == true or equipped == false then
  2249. if attack == false then
  2250. idle = idle + 1
  2251. else
  2252. idle = 0
  2253. end
  2254. if 1 < root.Velocity.y and hitfloor == nil then
  2255. Anim = "Jump"
  2256. if attack == false then
  2257. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2258. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2259. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2260. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2261. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2262. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2263. end
  2264. elseif -1 > root.Velocity.y and hitfloor == nil then
  2265. Anim = "Fall"
  2266. if attack == false then
  2267. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2268. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2269. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2270. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2271. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2272. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2273. end
  2274. elseif torvel < 1 and hitfloor ~= nil then
  2275. Anim = "Idle"
  2276. change = .5
  2277. if attack == false then
  2278. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(0), Rad(0)), 0.15)
  2279. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2280. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -.2* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2281. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-2 + 2 * Cos(sine / 12)), Rad(-74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-4)), 0.15)
  2282. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  2283. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.06 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2284. end
  2285. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2286. Anim = "Walk"
  2287. change = 1
  2288. if attack == false then
  2289. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
  2290. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2291. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2292. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2293. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  2294. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
  2295. end
  2296. elseif torvel >= 25 and hitfloor ~= nil then
  2297. Anim = "Sprint"
  2298. change = 1.35
  2299. if attack == false then
  2300. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2301. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2302. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2303. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2304. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2305. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2306. end
  2307. end
  2308. end
  2309. Music.SoundId = "rbxassetid://"..SONG
  2310. Music.Looped = true
  2311. Music.Pitch = 1
  2312. Music.Volume = 1.5
  2313. Music.Parent = tors
  2314. Music:Resume()
  2315. if 0 < #Effects then
  2316. for e = 1, #Effects do
  2317. if Effects[e] ~= nil then
  2318. local Thing = Effects[e]
  2319. if Thing ~= nil then
  2320. local Part = Thing[1]
  2321. local Mode = Thing[2]
  2322. local Delay = Thing[3]
  2323. local IncX = Thing[4]
  2324. local IncY = Thing[5]
  2325. local IncZ = Thing[6]
  2326. if 1 >= Thing[1].Transparency then
  2327. if Thing[2] == "Block1" then
  2328. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2329. local Mesh = Thing[1].Mesh
  2330. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2331. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2332. elseif Thing[2] == "Block2" then
  2333. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2334. local Mesh = Thing[7]
  2335. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2336. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2337. elseif Thing[2] == "Block3" then
  2338. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2339. local Mesh = Thing[7]
  2340. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2341. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2342. elseif Thing[2] == "Cylinder" then
  2343. local Mesh = Thing[1].Mesh
  2344. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2345. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2346. elseif Thing[2] == "Blood" then
  2347. local Mesh = Thing[7]
  2348. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2349. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2350. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2351. elseif Thing[2] == "Elec" then
  2352. local Mesh = Thing[1].Mesh
  2353. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2354. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2355. elseif Thing[2] == "Disappear" then
  2356. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2357. elseif Thing[2] == "Shatter" then
  2358. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2359. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2360. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2361. Thing[6] = Thing[6] + Thing[5]
  2362. end
  2363. else
  2364. Part.Parent = nil
  2365. table.remove(Effects, e)
  2366. end
  2367. end
  2368. end
  2369. end
  2370. end
  2371. end
  2372. -------------------------------------------------------
  2373. --End Animations And Script--
  2374. -------------------------------------------------------
Add Comment
Please, Sign In to add comment