Advertisement
Xector666X

Untitled

Jan 10th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 112.39 KB | None | 0 0
  1. -----------//KRYSTAL DANCE V2\\-----------
  2. --[[Movelist
  3. Q = The Swoosher
  4. E = The nutty
  5. R = Spin me right round!
  6. T = Plum juice dance
  7. Y = Moonwalk
  8. U = Slav dance
  9. P = Barrel roll
  10. F = The Jerky
  11. G = The Shuffle
  12. H = The Spongebob
  13. J = Here comes the money!
  14. K = Runnin' in the 90's
  15. ---------]]
  16.  
  17. --Alright so before i start rambling on about absolute nonsense, please subscribe to Pewdiepie on youtube! Help him defeat T-Series!--
  18. --Also subscribe to Vengefulprogram--
  19. --Krystal dance! The old famous script that sadly has been broken(sorta), i've decided to rework this thing because... nostalgia.--
  20. --This is one of the first scripts i've ever ran on SB, seeing this back again really reminds me of how much of a noob i was.--
  21. --Credits to Krystalteam, they made the original krystal dance! Be sure to respect them or else...--
  22. --#makeoldscriptsgreatagain--
  23.  
  24. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  25. do
  26. script.Parent = owner.Character
  27. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  28. local function NewFakeEvent()
  29. local Bind = Instance.new("BindableEvent")
  30. local Fake;Fake = {Connections = {},
  31. fakeEvent=true;
  32. Connect=function(self,Func)
  33. Bind.Event:connect(Func)
  34. self.Connections[Bind] = true
  35. return setmetatable({Connected = true},{
  36. __index = function (self,Index)
  37. if Index:lower() == "disconnect" then
  38. return function() Fake.Connections[Bind] = false;self.Connected = false end
  39. end
  40. return Fake[Index]
  41. end;
  42. __tostring = function() return "Connection" end;
  43. })
  44. end}
  45. Fake.connect = Fake.Connect;return Fake;
  46. end
  47. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  48. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  49. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  50. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  51. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  52. local function TriggerEvent(self,Event,...)
  53. local Trigger = Mouse[Event]
  54. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  55. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  56. end
  57. end
  58. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  59. Event.OnServerEvent:Connect(function(FiredBy,Input)
  60. if FiredBy.Name ~= owner.Name then return end
  61. if Input.MouseEvent then
  62. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  63. else
  64. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  65. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  66. for _,Action in pairs(ContextActionService.Actions) do
  67. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  68. end
  69. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  70. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  71. end
  72. end)
  73. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  74. Event.Parent = NLS([[
  75. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  76. local Input = function(Input,gameProcessedEvent)
  77. if gameProcessedEvent then return end
  78. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  79. end
  80. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  81. local Hit,Target
  82. while wait(1/30) do
  83. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  84. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  85. end
  86. end
  87. ]],owner.Character)
  88. end
  89. RealGame = game;game = setmetatable({},{
  90. __index = function (self,Index)
  91. local Sandbox = function (Thing)
  92. if Thing:IsA("Player") then
  93. local RealPlayer = Thing
  94. return setmetatable({},{
  95. __index = function (self,Index)
  96. local Type = type(RealPlayer[Index])
  97. if Type == "function" then
  98. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  99. return function (self)return InternalData["Mouse"] end
  100. end
  101. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  102. end
  103. return RealPlayer[Index]
  104. end;
  105. __tostring = function(self) return RealPlayer.Name end
  106. })
  107. end
  108. end
  109. if RealGame[Index] then
  110. local Type = type(RealGame[Index])
  111. if Type == "function" then
  112. if Index:lower() == "getservice" or Index:lower() == "service" then
  113. return function (self,Service)
  114. local FakeServices = {
  115. ["players"] = function()
  116. return setmetatable({},{
  117. __index = function (self2,Index2)
  118. local RealService = RealGame:GetService(Service)
  119. local Type2 = type(Index2)
  120. if Type2 == "function" then
  121. return function (self,...) return RealService[Index2](RealService,...)end
  122. else
  123. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  124. return RealService[Index2]
  125. end
  126. end;
  127. __tostring = function(self) return RealGame:GetService(Service).Name end
  128. })
  129. end;
  130. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  131. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  132. ["runservice"] = function()
  133. return setmetatable({},{
  134. __index = function(self2,Index2)
  135. local RealService = RealGame:GetService(Service)
  136. local Type2 = type(Index2)
  137. if Type2 == "function" then
  138. return function (self,...) return RealService[Index2](RealService,...) end
  139. else
  140. local RunServices = {
  141. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  142. ["renderstepped"] = function() return RealService["Stepped"] end
  143. }
  144. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  145. return RealService[Index2]
  146. end
  147. end
  148. })
  149. end
  150. }
  151. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  152. return RealGame:GetService(Service)
  153. end
  154. end
  155. return function (self,...) return RealGame[Index](RealGame,...) end
  156. else
  157. if game:GetService(Index) then return game:GetService(Index) end
  158. return RealGame[Index]
  159. end
  160. end
  161. return nil
  162. end
  163. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  164.  
  165. local char = plr.Character
  166. local hum = char.Humanoid
  167. local hed = char.Head
  168. local root = char.HumanoidRootPart
  169. local rootj = root.RootJoint
  170. local tors = char.Torso
  171. local ra = char["Right Arm"]
  172. local la = char["Left Arm"]
  173. local rl = char["Right Leg"]
  174. local ll = char["Left Leg"]
  175. local neck = tors["Neck"]
  176. local mouse = plr:GetMouse()
  177. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  178. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  179. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  180. local maincolor = BrickColor.new("Institutional white")
  181.  
  182. function Anchor()
  183. ra.Anchored = true
  184. la.Anchored = true
  185. tors.Anchored = true
  186. ll.Anchored = true
  187. rl.Anchored = true
  188. hed.Anchored = true
  189. end
  190.  
  191. -------------------------------------------------------
  192. --Start Good Stuff--
  193. -------------------------------------------------------
  194. cam = game.Workspace.CurrentCamera
  195. CF = CFrame.new
  196. angles = CFrame.Angles
  197. attack = false
  198. Euler = CFrame.fromEulerAnglesXYZ
  199. Rad = math.rad
  200. IT = Instance.new
  201. BrickC = BrickColor.new
  202. Cos = math.cos
  203. Acos = math.acos
  204. Sin = math.sin
  205. Asin = math.asin
  206. Abs = math.abs
  207. Mrandom = math.random
  208. Floor = math.floor
  209. -------------------------------------------------------
  210. --End Good Stuff--
  211. -------------------------------------------------------
  212. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  213. RSH, LSH = nil, nil
  214. RW = Instance.new("Weld")
  215. LW = Instance.new("Weld")
  216. RH = tors["Right Hip"]
  217. LH = tors["Left Hip"]
  218. RSH = tors["Right Shoulder"]
  219. LSH = tors["Left Shoulder"]
  220. RSH.Parent = nil
  221. LSH.Parent = nil
  222. RW.Name = "RW"
  223. RW.Part0 = tors
  224. RW.C0 = CF(1.5, 0.5, 0)
  225. RW.C1 = CF(0, 0.5, 0)
  226. RW.Part1 = ra
  227. RW.Parent = tors
  228. LW.Name = "LW"
  229. LW.Part0 = tors
  230. LW.C0 = CF(-1.5, 0.5, 0)
  231. LW.C1 = CF(0, 0.5, 0)
  232. LW.Part1 = la
  233. LW.Parent = tors
  234. Effects = {}
  235. -------------------------------------------------------
  236. --Start HeartBeat--
  237. -------------------------------------------------------
  238. ArtificialHB = Instance.new("BindableEvent", script)
  239. ArtificialHB.Name = "Heartbeat"
  240. script:WaitForChild("Heartbeat")
  241.  
  242. frame = 1 / 60
  243. tf = 0
  244. allowframeloss = false
  245. tossremainder = false
  246.  
  247.  
  248. lastframe = tick()
  249. script.Heartbeat:Fire()
  250.  
  251.  
  252. game:GetService("RunService").Heartbeat:connect(function(s, p)
  253. tf = tf + s
  254. if tf >= frame then
  255. if allowframeloss then
  256. script.Heartbeat:Fire()
  257. lastframe = tick()
  258. else
  259. for i = 1, math.floor(tf / frame) do
  260. script.Heartbeat:Fire()
  261. end
  262. lastframe = tick()
  263. end
  264. if tossremainder then
  265. tf = 0
  266. else
  267. tf = tf - frame * math.floor(tf / frame)
  268. end
  269. end
  270. end)
  271. -------------------------------------------------------
  272. --End HeartBeat--
  273. -------------------------------------------------------
  274.  
  275. function CreateSound(ID, PARENT, VOLUME, PITCH)
  276. local NSound = nil
  277. coroutine.resume(coroutine.create(function()
  278. NSound = Instance.new("Sound", PARENT)
  279. NSound.Volume = VOLUME
  280. NSound.Pitch = PITCH
  281. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  282. swait()
  283. NSound:play()
  284. game:GetService("Debris"):AddItem(NSound, 10)
  285. end))
  286. return NSound
  287. end
  288.  
  289. --Very lazi from here to below except the animations but who cares /shrug
  290. function chatfunc(text)
  291. local chat = coroutine.wrap(function()
  292. if char:FindFirstChild("TalkingBillBoard")~= nil then
  293. char:FindFirstChild("TalkingBillBoard"):destroy()
  294. end
  295. local naeeym2 = Instance.new("BillboardGui",char)
  296. naeeym2.Size = UDim2.new(0,100,0,40)
  297. naeeym2.StudsOffset = Vector3.new(0,3,0)
  298. naeeym2.Adornee = char.Head
  299. naeeym2.Name = "TalkingBillBoard"
  300. local tecks2 = Instance.new("TextLabel",naeeym2)
  301. tecks2.BackgroundTransparency = 1
  302. tecks2.BorderSizePixel = 0
  303. tecks2.Text = ""
  304. tecks2.Font = "Fantasy"
  305. tecks2.TextSize = 30
  306. tecks2.TextStrokeTransparency = 0
  307. tecks2.TextColor3 = Color3.new(255,0,0)
  308. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  309. tecks2.Size = UDim2.new(1,0,0.5,0)
  310. local tecks3 = Instance.new("TextLabel",naeeym2)
  311. tecks3.BackgroundTransparency = 1
  312. tecks3.BorderSizePixel = 0
  313. tecks3.Text = ""
  314. tecks3.Font = "Fantasy"
  315. tecks3.TextSize = 30
  316. tecks3.TextStrokeTransparency = 0
  317. tecks3.TextColor3 = Color3.new(255,0,0)
  318. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  319. tecks3.Size = UDim2.new(1,0,0.5,0)
  320. coroutine.resume(coroutine.create(function()
  321. while tecks3 ~= nil do
  322. swait()
  323. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  324. tecks3.Rotation = math.random(-3,3)
  325. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  326. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  327. end
  328. end))
  329. for i = 1,string.len(text),1 do
  330. tecks2.Text = string.sub(text,1,i)
  331. tecks3.Text = string.sub(text,1,i)
  332. wait(0.01)
  333. end
  334. wait(2)
  335. for i = 1, 50 do
  336. swait()
  337. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  338. tecks2.Rotation = tecks2.Rotation - 2
  339. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  340. tecks2.TextTransparency = tecks2.TextTransparency + .04
  341. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-10,10),.05,math.random(-10,10))
  342. tecks3.Rotation = tecks2.Rotation + 2
  343. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  344. tecks3.TextTransparency = tecks2.TextTransparency + .04
  345. end
  346. naeeym2:Destroy()
  347. end)
  348. chat()
  349. end
  350. function onChatted(msg)
  351. chatfunc(msg)
  352. end
  353. --plr.Chatted:connect(onChatted)
  354.  
  355. GlowParticle = Instance.new("ParticleEmitter",ra)
  356. GlowParticle.LightEmission = 0
  357. GlowParticle.Color = ColorSequence.new(Color3.new(0,0,0),Color3.new(0,0,0))
  358. GlowParticle.Size = NumberSequence.new(0,0.6)
  359. GlowParticle.Rotation = NumberRange.new(0, 360)
  360. GlowParticle.Texture = "http://www.roblox.com/asset/?id=1523916715"
  361. GlowParticle.Transparency = NumberSequence.new(0,1)
  362. GlowParticle.LockedToPart = true
  363. GlowParticle.Lifetime = NumberRange.new(1)
  364. GlowParticle.Rate = 999
  365. GlowParticle.Speed = NumberRange.new(0)
  366. GlowParticle.VelocitySpread = 500
  367.  
  368. function TargetSelect(person)
  369. local dd=coroutine.wrap(function()
  370. if targetted ~= person then
  371. targetted = person
  372. GlowParticle.Enabled = true
  373. end
  374. end)
  375. dd()
  376. end
  377.  
  378. if targetted == nil then
  379. GlowParticle.Enabled = false
  380. end
  381. -------------------------------------------------------
  382. --Start Important Functions--
  383. -------------------------------------------------------
  384. function swait(num)
  385. if num == 0 or num == nil then
  386. game:service("RunService").Stepped:wait(0)
  387. else
  388. for i = 0, num do
  389. game:service("RunService").Stepped:wait(0)
  390. end
  391. end
  392. end
  393. function thread(f)
  394. coroutine.resume(coroutine.create(f))
  395. end
  396. function clerp(a, b, t)
  397. local qa = {
  398. QuaternionFromCFrame(a)
  399. }
  400. local qb = {
  401. QuaternionFromCFrame(b)
  402. }
  403. local ax, ay, az = a.x, a.y, a.z
  404. local bx, by, bz = b.x, b.y, b.z
  405. local _t = 1 - t
  406. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  407. end
  408. function QuaternionFromCFrame(cf)
  409. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  410. local trace = m00 + m11 + m22
  411. if trace > 0 then
  412. local s = math.sqrt(1 + trace)
  413. local recip = 0.5 / s
  414. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  415. else
  416. local i = 0
  417. if m00 < m11 then
  418. i = 1
  419. end
  420. if m22 > (i == 0 and m00 or m11) then
  421. i = 2
  422. end
  423. if i == 0 then
  424. local s = math.sqrt(m00 - m11 - m22 + 1)
  425. local recip = 0.5 / s
  426. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  427. elseif i == 1 then
  428. local s = math.sqrt(m11 - m22 - m00 + 1)
  429. local recip = 0.5 / s
  430. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  431. elseif i == 2 then
  432. local s = math.sqrt(m22 - m00 - m11 + 1)
  433. local recip = 0.5 / s
  434. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  435. end
  436. end
  437. end
  438. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  439. local xs, ys, zs = x + x, y + y, z + z
  440. local wx, wy, wz = w * xs, w * ys, w * zs
  441. local xx = x * xs
  442. local xy = x * ys
  443. local xz = x * zs
  444. local yy = y * ys
  445. local yz = y * zs
  446. local zz = z * zs
  447. 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))
  448. end
  449. function QuaternionSlerp(a, b, t)
  450. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  451. local startInterp, finishInterp
  452. if cosTheta >= 1.0E-4 then
  453. if 1 - cosTheta > 1.0E-4 then
  454. local theta = math.acos(cosTheta)
  455. local invSinTheta = 1 / Sin(theta)
  456. startInterp = Sin((1 - t) * theta) * invSinTheta
  457. finishInterp = Sin(t * theta) * invSinTheta
  458. else
  459. startInterp = 1 - t
  460. finishInterp = t
  461. end
  462. elseif 1 + cosTheta > 1.0E-4 then
  463. local theta = math.acos(-cosTheta)
  464. local invSinTheta = 1 / Sin(theta)
  465. startInterp = Sin((t - 1) * theta) * invSinTheta
  466. finishInterp = Sin(t * theta) * invSinTheta
  467. else
  468. startInterp = t - 1
  469. finishInterp = t
  470. end
  471. 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
  472. end
  473. function rayCast(Position, Direction, Range, Ignore)
  474. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  475. end
  476. local RbxUtility = LoadLibrary("RbxUtility")
  477. local Create = RbxUtility.Create
  478.  
  479. -------------------------------------------------------
  480. --Start Damage Function--
  481. -------------------------------------------------------
  482. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  483. if hit.Parent == nil then
  484. return
  485. end
  486. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  487. for _, v in pairs(hit.Parent:children()) do
  488. if v:IsA("Humanoid") then
  489. h = v
  490. end
  491. end
  492. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  493.  
  494. hit.Parent:FindFirstChild("Head"):BreakJoints()
  495. end
  496.  
  497. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  498. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  499. if hit.Parent.DebounceHit.Value == true then
  500. return
  501. end
  502. end
  503. if insta == true then
  504. hit.Parent:FindFirstChild("Head"):BreakJoints()
  505. end
  506. local c = Create("ObjectValue"){
  507. Name = "creator",
  508. Value = game:service("Players").LocalPlayer,
  509. Parent = h,
  510. }
  511. game:GetService("Debris"):AddItem(c, .5)
  512. if HitSound ~= nil and HitPitch ~= nil then
  513. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  514. end
  515. local Damage = math.random(minim, maxim)
  516. local blocked = false
  517. local block = hit.Parent:findFirstChild("Block")
  518. if block ~= nil then
  519. if block.className == "IntValue" then
  520. if block.Value > 0 then
  521. blocked = true
  522. block.Value = block.Value - 1
  523. print(block.Value)
  524. end
  525. end
  526. end
  527. if blocked == false then
  528. h.Health = h.Health - Damage
  529. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  530. else
  531. h.Health = h.Health - (Damage / 2)
  532. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  533. end
  534. if Type == "Knockdown" then
  535. local hum = hit.Parent.Humanoid
  536. hum.PlatformStand = true
  537. coroutine.resume(coroutine.create(function(HHumanoid)
  538. swait(1)
  539. HHumanoid.PlatformStand = false
  540. end), hum)
  541. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  542. local bodvol = Create("BodyVelocity"){
  543. velocity = angle * knockback,
  544. P = 5000,
  545. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  546. Parent = hit,
  547. }
  548. local rl = Create("BodyAngularVelocity"){
  549. P = 3000,
  550. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  551. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  552. Parent = hit,
  553. }
  554. game:GetService("Debris"):AddItem(bodvol, .5)
  555. game:GetService("Debris"):AddItem(rl, .5)
  556. elseif Type == "Normal" then
  557. local vp = Create("BodyVelocity"){
  558. P = 500,
  559. maxForce = Vector3.new(math.huge, 0, math.huge),
  560. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  561. }
  562. if knockback > 0 then
  563. vp.Parent = hit.Parent.Torso
  564. end
  565. game:GetService("Debris"):AddItem(vp, .5)
  566. elseif Type == "Up" then
  567. local bodyVelocity = Create("BodyVelocity"){
  568. velocity = Vector3.new(0, 20, 0),
  569. P = 5000,
  570. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  571. Parent = hit,
  572. }
  573. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  574. elseif Type == "DarkUp" then
  575. coroutine.resume(coroutine.create(function()
  576. for i = 0, 1, 0.1 do
  577. swait()
  578. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  579. end
  580. end))
  581. local bodyVelocity = Create("BodyVelocity"){
  582. velocity = Vector3.new(0, 20, 0),
  583. P = 5000,
  584. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  585. Parent = hit,
  586. }
  587. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  588. elseif Type == "Snare" then
  589. local bp = Create("BodyPosition"){
  590. P = 2000,
  591. D = 100,
  592. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  593. position = hit.Parent.Torso.Position,
  594. Parent = hit.Parent.Torso,
  595. }
  596. game:GetService("Debris"):AddItem(bp, 1)
  597. elseif Type == "Freeze" then
  598. local BodPos = Create("BodyPosition"){
  599. P = 50000,
  600. D = 1000,
  601. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  602. position = hit.Parent.Torso.Position,
  603. Parent = hit.Parent.Torso,
  604. }
  605. local BodGy = Create("BodyGyro") {
  606. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  607. P = 20e+003,
  608. Parent = hit.Parent.Torso,
  609. cframe = hit.Parent.Torso.CFrame,
  610. }
  611. hit.Parent.Torso.Anchored = true
  612. coroutine.resume(coroutine.create(function(Part)
  613. swait(1.5)
  614. Part.Anchored = false
  615. end), hit.Parent.Torso)
  616. game:GetService("Debris"):AddItem(BodPos, 3)
  617. game:GetService("Debris"):AddItem(BodGy, 3)
  618. end
  619. local debounce = Create("BoolValue"){
  620. Name = "DebounceHit",
  621. Parent = hit.Parent,
  622. Value = true,
  623. }
  624. game:GetService("Debris"):AddItem(debounce, Delay)
  625. c = Create("ObjectValue"){
  626. Name = "creator",
  627. Value = Player,
  628. Parent = h,
  629. }
  630. game:GetService("Debris"):AddItem(c, .5)
  631. end
  632. end
  633. -------------------------------------------------------
  634. --End Damage Function--
  635. -------------------------------------------------------
  636.  
  637. -------------------------------------------------------
  638. --Start Damage Function Customization--
  639. -------------------------------------------------------
  640. function ShowDamage(Pos, Text, Time, Color)
  641. local Rate = (1 / 30)
  642. local Pos = (Pos or Vector3.new(0, 0, 0))
  643. local Text = (Text or "")
  644. local Time = (Time or 2)
  645. local Color = (Color or Color3.new(1, 0, 1))
  646. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  647. EffectPart.Anchored = true
  648. local BillboardGui = Create("BillboardGui"){
  649. Size = UDim2.new(3, 0, 3, 0),
  650. Adornee = EffectPart,
  651. Parent = EffectPart,
  652. }
  653. local TextLabel = Create("TextLabel"){
  654. BackgroundTransparency = 1,
  655. Size = UDim2.new(1, 0, 1, 0),
  656. Text = Text,
  657. Font = "Bodoni",
  658. TextColor3 = Color,
  659. TextScaled = true,
  660. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  661. Parent = BillboardGui,
  662. }
  663. game.Debris:AddItem(EffectPart, (Time))
  664. EffectPart.Parent = game:GetService("Workspace")
  665. delay(0, function()
  666. local Frames = (Time / Rate)
  667. for Frame = 1, Frames do
  668. wait(Rate)
  669. local Percent = (Frame / Frames)
  670. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  671. TextLabel.TextTransparency = Percent
  672. end
  673. if EffectPart and EffectPart.Parent then
  674. EffectPart:Destroy()
  675. end
  676. end)
  677. end
  678. -------------------------------------------------------
  679. --End Damage Function Customization--
  680. -------------------------------------------------------
  681.  
  682. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  683. for _, c in pairs(workspace:children()) do
  684. local hum = c:findFirstChild("Humanoid")
  685. if hum ~= nil then
  686. local head = c:findFirstChild("Head")
  687. if head ~= nil then
  688. local targ = head.Position - Part.Position
  689. local mag = targ.magnitude
  690. if magni >= mag and c.Name ~= plr.Name then
  691. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  692. end
  693. end
  694. end
  695. end
  696. end
  697.  
  698.  
  699. CFuncs = {
  700. Part = {
  701. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  702. local Part = Create("Part")({
  703. Parent = Parent,
  704. Reflectance = Reflectance,
  705. Transparency = Transparency,
  706. CanCollide = false,
  707. Locked = true,
  708. BrickColor = BrickColor.new(tostring(BColor)),
  709. Name = Name,
  710. Size = Size,
  711. Material = Material
  712. })
  713. RemoveOutlines(Part)
  714. return Part
  715. end
  716. },
  717. Mesh = {
  718. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  719. local Msh = Create(Mesh)({
  720. Parent = Part,
  721. Offset = OffSet,
  722. Scale = Scale
  723. })
  724. if Mesh == "SpecialMesh" then
  725. Msh.MeshType = MeshType
  726. Msh.MeshId = MeshId
  727. end
  728. return Msh
  729. end
  730. },
  731. Mesh = {
  732. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  733. local Msh = Create(Mesh)({
  734. Parent = Part,
  735. Offset = OffSet,
  736. Scale = Scale
  737. })
  738. if Mesh == "SpecialMesh" then
  739. Msh.MeshType = MeshType
  740. Msh.MeshId = MeshId
  741. end
  742. return Msh
  743. end
  744. },
  745. Weld = {
  746. Create = function(Parent, Part0, Part1, C0, C1)
  747. local Weld = Create("Weld")({
  748. Parent = Parent,
  749. Part0 = Part0,
  750. Part1 = Part1,
  751. C0 = C0,
  752. C1 = C1
  753. })
  754. return Weld
  755. end
  756. },
  757. Sound = {
  758. Create = function(id, par, vol, pit)
  759. coroutine.resume(coroutine.create(function()
  760. local S = Create("Sound")({
  761. Volume = vol,
  762. Pitch = pit or 1,
  763. SoundId = id,
  764. Parent = par or workspace
  765. })
  766. wait()
  767. S:play()
  768. game:GetService("Debris"):AddItem(S, 6)
  769. end))
  770. end
  771. },
  772. ParticleEmitter = {
  773. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  774. local fp = Create("ParticleEmitter")({
  775. Parent = Parent,
  776. Color = ColorSequence.new(Color1, Color2),
  777. LightEmission = LightEmission,
  778. Size = Size,
  779. Texture = Texture,
  780. Transparency = Transparency,
  781. ZOffset = ZOffset,
  782. Acceleration = Accel,
  783. Drag = Drag,
  784. LockedToPart = LockedToPart,
  785. VelocityInheritance = VelocityInheritance,
  786. EmissionDirection = EmissionDirection,
  787. Enabled = Enabled,
  788. Lifetime = LifeTime,
  789. Rate = Rate,
  790. Rotation = Rotation,
  791. RotSpeed = RotSpeed,
  792. Speed = Speed,
  793. VelocitySpread = VelocitySpread
  794. })
  795. return fp
  796. end
  797. }
  798. }
  799. function RemoveOutlines(part)
  800. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  801. end
  802. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  803. local NEWWELD = IT(TYPE)
  804. NEWWELD.Part0 = PART0
  805. NEWWELD.Part1 = PART1
  806. NEWWELD.C0 = C0
  807. NEWWELD.C1 = C1
  808. NEWWELD.Parent = PARENT
  809. return NEWWELD
  810. end
  811. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  812. local Part = Create("Part")({
  813. formFactor = FormFactor,
  814. Parent = Parent,
  815. Reflectance = Reflectance,
  816. Transparency = Transparency,
  817. CanCollide = false,
  818. Locked = true,
  819. BrickColor = BrickColor.new(tostring(BColor)),
  820. Name = Name,
  821. Size = Size,
  822. Material = Material
  823. })
  824. RemoveOutlines(Part)
  825. return Part
  826. end
  827. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  828. local Msh = Create(Mesh)({
  829. Parent = Part,
  830. Offset = OffSet,
  831. Scale = Scale
  832. })
  833. if Mesh == "SpecialMesh" then
  834. Msh.MeshType = MeshType
  835. Msh.MeshId = MeshId
  836. end
  837. return Msh
  838. end
  839. function CreateWeld(Parent, Part0, Part1, C0, C1)
  840. local Weld = Create("Weld")({
  841. Parent = Parent,
  842. Part0 = Part0,
  843. Part1 = Part1,
  844. C0 = C0,
  845. C1 = C1
  846. })
  847. return Weld
  848. end
  849.  
  850.  
  851. -------------------------------------------------------
  852. --Start Effect Function--
  853. -------------------------------------------------------
  854. EffectModel = Instance.new("Model", char)
  855. Effects = {
  856. Block = {
  857. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  858. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  859. prt.Anchored = true
  860. prt.CFrame = cframe
  861. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  862. game:GetService("Debris"):AddItem(prt, 10)
  863. if Type == 1 or Type == nil then
  864. table.insert(Effects, {
  865. prt,
  866. "Block1",
  867. delay,
  868. x3,
  869. y3,
  870. z3,
  871. msh
  872. })
  873. elseif Type == 2 then
  874. table.insert(Effects, {
  875. prt,
  876. "Block2",
  877. delay,
  878. x3,
  879. y3,
  880. z3,
  881. msh
  882. })
  883. else
  884. table.insert(Effects, {
  885. prt,
  886. "Block3",
  887. delay,
  888. x3,
  889. y3,
  890. z3,
  891. msh
  892. })
  893. end
  894. end
  895. },
  896. Sphere = {
  897. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  898. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  899. prt.Anchored = true
  900. prt.CFrame = cframe
  901. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  902. game:GetService("Debris"):AddItem(prt, 10)
  903. table.insert(Effects, {
  904. prt,
  905. "Cylinder",
  906. delay,
  907. x3,
  908. y3,
  909. z3,
  910. msh
  911. })
  912. end
  913. },
  914. Cylinder = {
  915. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  916. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  917. prt.Anchored = true
  918. prt.CFrame = cframe
  919. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  920. game:GetService("Debris"):AddItem(prt, 10)
  921. table.insert(Effects, {
  922. prt,
  923. "Cylinder",
  924. delay,
  925. x3,
  926. y3,
  927. z3,
  928. msh
  929. })
  930. end
  931. },
  932. Wave = {
  933. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  934. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  935. prt.Anchored = true
  936. prt.CFrame = cframe
  937. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. table.insert(Effects, {
  940. prt,
  941. "Cylinder",
  942. delay,
  943. x3 / 60,
  944. y3 / 60,
  945. z3 / 60,
  946. msh
  947. })
  948. end
  949. },
  950. Ring = {
  951. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  952. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  953. prt.Anchored = true
  954. prt.CFrame = cframe
  955. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  956. game:GetService("Debris"):AddItem(prt, 10)
  957. table.insert(Effects, {
  958. prt,
  959. "Cylinder",
  960. delay,
  961. x3,
  962. y3,
  963. z3,
  964. msh
  965. })
  966. end
  967. },
  968. Break = {
  969. Create = function(brickcolor, cframe, x1, y1, z1)
  970. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  971. prt.Anchored = true
  972. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  973. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  974. local num = math.random(10, 50) / 1000
  975. game:GetService("Debris"):AddItem(prt, 10)
  976. table.insert(Effects, {
  977. prt,
  978. "Shatter",
  979. num,
  980. prt.CFrame,
  981. math.random() - math.random(),
  982. 0,
  983. math.random(50, 100) / 100
  984. })
  985. end
  986. },
  987. Spiral = {
  988. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  989. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  990. prt.Anchored = true
  991. prt.CFrame = cframe
  992. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  993. game:GetService("Debris"):AddItem(prt, 10)
  994. table.insert(Effects, {
  995. prt,
  996. "Cylinder",
  997. delay,
  998. x3,
  999. y3,
  1000. z3,
  1001. msh
  1002. })
  1003. end
  1004. },
  1005. Push = {
  1006. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1007. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1008. prt.Anchored = true
  1009. prt.CFrame = cframe
  1010. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1011. game:GetService("Debris"):AddItem(prt, 10)
  1012. table.insert(Effects, {
  1013. prt,
  1014. "Cylinder",
  1015. delay,
  1016. x3,
  1017. y3,
  1018. z3,
  1019. msh
  1020. })
  1021. end
  1022. }
  1023. }
  1024. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1025. local fp = IT("Part")
  1026. fp.formFactor = formfactor
  1027. fp.Parent = parent
  1028. fp.Reflectance = reflectance
  1029. fp.Transparency = transparency
  1030. fp.CanCollide = false
  1031. fp.Locked = true
  1032. fp.BrickColor = brickcolor
  1033. fp.Name = name
  1034. fp.Size = size
  1035. fp.Position = tors.Position
  1036. RemoveOutlines(fp)
  1037. fp.Material = "SmoothPlastic"
  1038. fp:BreakJoints()
  1039. return fp
  1040. end
  1041.  
  1042. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1043. local mesh = IT(Mesh)
  1044. mesh.Parent = part
  1045. if Mesh == "SpecialMesh" then
  1046. mesh.MeshType = meshtype
  1047. if meshid ~= "nil" then
  1048. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1049. end
  1050. end
  1051. mesh.Offset = offset
  1052. mesh.Scale = scale
  1053. return mesh
  1054. end
  1055.  
  1056. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1057. local type = type
  1058. local rng = Instance.new("Part", char)
  1059. rng.Anchored = true
  1060. rng.BrickColor = color
  1061. rng.CanCollide = false
  1062. rng.FormFactor = 3
  1063. rng.Name = "Ring"
  1064. rng.Material = "Neon"
  1065. rng.Size = Vector3.new(1, 1, 1)
  1066. rng.Transparency = 0
  1067. rng.TopSurface = 0
  1068. rng.BottomSurface = 0
  1069. rng.CFrame = pos
  1070. local rngm = Instance.new("SpecialMesh", rng)
  1071. rngm.MeshType = MType
  1072. rngm.Scale = scale
  1073. local scaler2 = 1
  1074. if type == "Add" then
  1075. scaler2 = 1 * value
  1076. elseif type == "Divide" then
  1077. scaler2 = 1 / value
  1078. end
  1079. coroutine.resume(coroutine.create(function()
  1080. for i = 0, 10 / bonuspeed, 0.1 do
  1081. swait()
  1082. if type == "Add" then
  1083. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1084. elseif type == "Divide" then
  1085. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1086. end
  1087. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1088. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1089. end
  1090. rng:Destroy()
  1091. end))
  1092. end
  1093.  
  1094. function Eviscerate(dude)
  1095. if dude.Name ~= char then
  1096. local bgf = IT("BodyGyro", dude.Head)
  1097. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1098. local val = IT("BoolValue", dude)
  1099. val.Name = "IsHit"
  1100. local ds = coroutine.wrap(function()
  1101. dude:WaitForChild("Head"):BreakJoints()
  1102. wait(0.5)
  1103. target = nil
  1104. coroutine.resume(coroutine.create(function()
  1105. for i, v in pairs(dude:GetChildren()) do
  1106. if v:IsA("Accessory") then
  1107. v:Destroy()
  1108. end
  1109. if v:IsA("Humanoid") then
  1110. v:Destroy()
  1111. end
  1112. if v:IsA("CharacterMesh") then
  1113. v:Destroy()
  1114. end
  1115. if v:IsA("Model") then
  1116. v:Destroy()
  1117. end
  1118. if v:IsA("Part") or v:IsA("MeshPart") then
  1119. for x, o in pairs(v:GetChildren()) do
  1120. if o:IsA("Decal") then
  1121. o:Destroy()
  1122. end
  1123. end
  1124. coroutine.resume(coroutine.create(function()
  1125. v.Material = "Neon"
  1126. v.CanCollide = false
  1127. local PartEmmit1 = IT("ParticleEmitter", v)
  1128. PartEmmit1.LightEmission = 1
  1129. PartEmmit1.Texture = "rbxassetid://284205403"
  1130. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1131. PartEmmit1.Rate = 150
  1132. PartEmmit1.Lifetime = NumberRange.new(1)
  1133. PartEmmit1.Size = NumberSequence.new({
  1134. NumberSequenceKeypoint.new(0, 0.75, 0),
  1135. NumberSequenceKeypoint.new(1, 0, 0)
  1136. })
  1137. PartEmmit1.Transparency = NumberSequence.new({
  1138. NumberSequenceKeypoint.new(0, 0, 0),
  1139. NumberSequenceKeypoint.new(1, 1, 0)
  1140. })
  1141. PartEmmit1.Speed = NumberRange.new(0, 0)
  1142. PartEmmit1.VelocitySpread = 30000
  1143. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1144. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1145. local BodPoss = IT("BodyPosition", v)
  1146. BodPoss.P = 3000
  1147. BodPoss.D = 1000
  1148. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1149. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1150. v.Color = maincolor.Color
  1151. coroutine.resume(coroutine.create(function()
  1152. for i = 0, 49 do
  1153. swait(1)
  1154. v.Transparency = v.Transparency + 0.08
  1155. end
  1156. wait(0.5)
  1157. PartEmmit1.Enabled = false
  1158. wait(3)
  1159. v:Destroy()
  1160. dude:Destroy()
  1161. end))
  1162. end))
  1163. end
  1164. end
  1165. end))
  1166. end)
  1167. ds()
  1168. end
  1169. end
  1170.  
  1171. function FindNearestHead(Position, Distance, SinglePlayer)
  1172. if SinglePlayer then
  1173. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1174. end
  1175. local List = {}
  1176. for i, v in pairs(workspace:GetChildren()) do
  1177. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1178. table.insert(List, v)
  1179. end
  1180. end
  1181. return List
  1182. end
  1183.  
  1184. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1185. local type = type
  1186. local rng = Instance.new("Part", char)
  1187. rng.Anchored = true
  1188. rng.BrickColor = color
  1189. rng.CanCollide = false
  1190. rng.FormFactor = 3
  1191. rng.Name = "Ring"
  1192. rng.Material = "Neon"
  1193. rng.Size = Vector3.new(1, 1, 1)
  1194. rng.Transparency = 0
  1195. rng.TopSurface = 0
  1196. rng.BottomSurface = 0
  1197. rng.CFrame = pos
  1198. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1199. local rngm = Instance.new("SpecialMesh", rng)
  1200. rngm.MeshType = MType
  1201. rngm.Scale = Vector3.new(x1, y1, z1)
  1202. local scaler2 = 1
  1203. local speeder = FastSpeed
  1204. if type == "Add" then
  1205. scaler2 = 1 * value
  1206. elseif type == "Divide" then
  1207. scaler2 = 1 / value
  1208. end
  1209. coroutine.resume(coroutine.create(function()
  1210. for i = 0, 10 / bonuspeed, 0.1 do
  1211. swait()
  1212. if type == "Add" then
  1213. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1214. elseif type == "Divide" then
  1215. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1216. end
  1217. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1218. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1219. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1220. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1221. end
  1222. rng:Destroy()
  1223. end))
  1224. end
  1225.  
  1226. function SoulSteal(dude)
  1227. if dude.Name ~= char then
  1228. local bgf = IT("BodyGyro", dude.Head)
  1229. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1230. local val = IT("BoolValue", dude)
  1231. val.Name = "IsHit"
  1232. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1233. local soulst = coroutine.wrap(function()
  1234. local soul = Instance.new("Part",dude)
  1235. soul.Size = Vector3.new(1,1,1)
  1236. soul.CanCollide = false
  1237. soul.Anchored = false
  1238. soul.Position = torso.Position
  1239. soul.Transparency = 1
  1240. local PartEmmit1 = IT("ParticleEmitter", soul)
  1241. PartEmmit1.LightEmission = 1
  1242. PartEmmit1.Texture = "rbxassetid://569507414"
  1243. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1244. PartEmmit1.Rate = 250
  1245. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1246. PartEmmit1.Size = NumberSequence.new({
  1247. NumberSequenceKeypoint.new(0, 1, 0),
  1248. NumberSequenceKeypoint.new(1, 0, 0)
  1249. })
  1250. PartEmmit1.Transparency = NumberSequence.new({
  1251. NumberSequenceKeypoint.new(0, 0, 0),
  1252. NumberSequenceKeypoint.new(1, 1, 0)
  1253. })
  1254. PartEmmit1.Speed = NumberRange.new(0, 0)
  1255. PartEmmit1.VelocitySpread = 30000
  1256. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1257. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1258. local BodPoss = IT("BodyPosition", soul)
  1259. BodPoss.P = 3000
  1260. BodPoss.D = 1000
  1261. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1262. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1263. wait(1.6)
  1264. soul.Touched:connect(function(hit)
  1265. if hit.Parent == char then
  1266. soul:Destroy()
  1267. end
  1268. end)
  1269. wait(1.2)
  1270. while soul do
  1271. swait()
  1272. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1273. BodPoss.Position = tors.Position
  1274. end
  1275. end)
  1276. soulst()
  1277. end
  1278. end
  1279. function FaceMouse()
  1280. local Cam = workspace.CurrentCamera
  1281. return {
  1282. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1283. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1284. }
  1285. end
  1286. -------------------------------------------------------
  1287. --End Effect Function--
  1288. -------------------------------------------------------
  1289. function Cso(ID, PARENT, VOLUME, PITCH)
  1290. local NSound = nil
  1291. coroutine.resume(coroutine.create(function()
  1292. NSound = IT("Sound", PARENT)
  1293. NSound.Volume = VOLUME
  1294. NSound.Pitch = PITCH
  1295. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1296. swait()
  1297. NSound:play()
  1298. game:GetService("Debris"):AddItem(NSound, 10)
  1299. end))
  1300. return NSound
  1301. end
  1302. function CameraEnshaking(Length, Intensity)
  1303. coroutine.resume(coroutine.create(function()
  1304. local intensity = 1 * Intensity
  1305. local rotM = 0.01 * Intensity
  1306. for i = 0, Length, 0.1 do
  1307. swait()
  1308. intensity = intensity - 0.05 * Intensity / Length
  1309. rotM = rotM - 5.0E-4 * Intensity / Length
  1310. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1311. 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)
  1312. end
  1313. hum.CameraOffset = Vector3.new(0, 0, 0)
  1314. end))
  1315. end
  1316. -------------------------------------------------------
  1317. --End Important Functions--
  1318. -------------------------------------------------------
  1319.  
  1320.  
  1321.  
  1322.  
  1323. New = function(Object, Parent, Name, Data)
  1324. local Object = Instance.new(Object)
  1325. for Index, Value in pairs(Data or {}) do
  1326. Object[Index] = Value
  1327. end
  1328. Object.Parent = Parent
  1329. Object.Name = Name
  1330. return Object
  1331. end
  1332.  
  1333. Doll = New("Model",char,"Doll",{})
  1334. Handle = New("Part",Doll,"Handle",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.755005181, 0.52783519, 0.664805532),CFrame = CFrame.new(17.7066402, 4.04866695, 4.38868618, -0.408491671, 0.666965187, -0.623126268, 0.353551745, 0.745008111, 0.565648913, 0.841502249, 0.0107554942, -0.540138841),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1335. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  1336. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1337. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1338. Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1339. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1340. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1341. Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1342. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.8601875, 3.91987228, 3.94369364, 0.725253046, -0.0676794797, 0.685131192, -0.652452052, -0.385200739, 0.652613878, 0.219753951, -0.920328677, -0.3235268),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1343. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1344. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1345. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1346. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1347. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1348. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1349. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1350. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.725257337, -0.652455866, 0.219753742, -0.0676780641, -0.385204077, -0.920336843, 0.685135007, 0.652616382, -0.323529661),C1 = CFrame.new(-0.482725382, 0.00167179108, 0.0718259811, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1351. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.834486, 3.79168725, 3.64936543, 0.0676793754, -0.685130835, 0.725253344, 0.385200799, -0.652614176, -0.652451873, 0.920328736, 0.323526919, 0.219753981),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1352. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1353. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1354. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1355. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1356. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1357. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1358. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779449, 0.385204136, 0.920336902, -0.685134649, -0.65261662, 0.32352975, 0.725257695, -0.652455688, 0.219753742),C1 = CFrame.new(-0.765227079, -0.114135742, 0.174312592, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1359. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.469902, 4.25766516, 4.74769306, 0.445832253, 0.789082885, 0.422561586, -0.410611928, -0.239177942, 0.879868925, 0.795366764, -0.565779567, 0.217372388),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1360. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1361. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1362. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1363. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1364. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1365. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1366. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1367. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.445833862, -0.410613358, 0.795372128, 0.789088428, -0.239180744, -0.565785825, 0.422562867, 0.879873633, 0.217374772),C1 = CFrame.new(0.472706556, 0.0016708374, 0.0718240738, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1368. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.1839867, 3.98582673, 3.75731707, 0.429396152, -0.706048965, 0.563108683, -0.389012426, -0.70731467, -0.590215027, 0.815025091, 0.0343795903, -0.578376234),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1369. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1370. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1371. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1372. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1373. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1374. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1375. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.429397583, -0.389013648, 0.815030634, -0.706052482, -0.707317889, 0.0343799815, 0.563113213, -0.590219498, -0.57838279),C1 = CFrame.new(-0.340019703, -0.402200699, 0.631163597, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1376. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.3263435, 3.86502314, 4.01973581, 0.563109279, -0.429397821, 0.706047297, -0.590211987, 0.389013797, 0.707316399, -0.578378439, -0.815023482, -0.0343782082),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1377. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1378. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1379. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1380. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1381. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1382. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1383. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1384. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.563113868, -0.590216458, -0.578384995, -0.429399252, 0.389015079, -0.815029025, 0.706050813, 0.707319558, -0.0343785957),C1 = CFrame.new(-0.220053911, -0.394431114, 0.332381248, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1385. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.354117572, 0.611353397, 0.337414026),CFrame = CFrame.new(17.1463699, 4.02708626, 4.39648008, 0.0949088037, -0.73499012, 0.671386242, -0.165235519, 0.653441608, 0.738708198, -0.981658518, -0.181056261, -0.0594294369),Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1386. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1387. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1388. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1389. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1390. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1391. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1392. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1393. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0949110687, -0.165237904, -0.981667101, -0.734994531, 0.653445482, -0.181055605, 0.67138958, 0.738711536, -0.0594298989),C1 = CFrame.new(0.227796555, -0.389676094, 0.33270359, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1394. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(16.9056702, 4.23298216, 4.33822775, 0.734989643, -0.671386659, 0.0949084461, -0.65344131, -0.738707781, -0.165238559, 0.18105793, 0.0594319291, -0.981658101),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1395. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1396. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1397. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1398. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1399. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1400. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1401. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.734994054, -0.653445184, 0.181057304, -0.671389878, -0.738711119, 0.0594324097, 0.0949106514, -0.165240943, -0.981666625),C1 = CFrame.new(0.349896908, -0.397447586, 0.630620956, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1402. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.668146014, 0.668146014, 0.668146014),CFrame = CFrame.new(17.5317345, 3.8532939, 4.38586617, -0.408485681, -0.666960537, 0.62312144, 0.353546619, -0.745002985, -0.565644801, 0.841490149, -0.01075528, 0.540134549),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1403. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1404. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1405. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1406. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1407. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1408. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1409. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.408489615, 0.353550047, 0.841498256, -0.666963577, -0.745006442, -0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(2.38418579e-07, -0.262242317, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1410. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Beige"),Shape = Enum.PartType.Ball,Size = Vector3.new(0.357458174, 0.357458174, 0.357458174),CFrame = CFrame.new(17.2187252, 4.32988024, 4.93205738, 0.445832521, -0.422561586, 0.789083481, -0.410612077, -0.879869342, -0.239178166, 0.795367122, -0.217372417, -0.565779924),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.792157, 0.74902, 0.639216),})
  1411. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1412. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1413. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1414. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1415. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1416. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1417. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.4458341, -0.410613567, 0.795372486, -0.422562897, -0.879873991, -0.217374831, 0.789088964, -0.239180893, -0.565786123),C1 = CFrame.new(0.755987883, -0.110072136, 0.169605255, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1418. Part = New("Part",Doll,"Part",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.668145955, 0.668145835, 0.668145955),CFrame = CFrame.new(18.08988, 4.4767499, 4.39486742, 0.408485681, 0.666960537, 0.62312144, -0.353546619, 0.745002985, -0.565644801, -0.841490149, 0.01075528, 0.540134549),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1419. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
  1420. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.408489615, -0.353550047, -0.841498256, 0.666963577, 0.745006442, 0.0107553881, 0.623124659, -0.565647602, 0.540137351),C1 = CFrame.new(7.15255737e-07, 0.574602127, -9.53674316e-07, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1421. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.9875202, 4.01644802, 3.77061558, -0.0676794201, -0.685131192, -0.725253105, -0.385200799, -0.652613878, 0.652452171, -0.920328856, 0.3235268, -0.219753891),CanCollide = false,})
  1422. Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
  1423. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0676780194, -0.385204077, -0.920336962, -0.685135007, -0.652616382, 0.323529661, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.646242142, 0.156686783, 0.14059639, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1424. ConeMesh = New("Part",Doll,"ConeMesh",{Material = Enum.Material.SmoothPlastic,Elasticity = 0,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.334072918, 0.200000003),CFrame = CFrame.new(17.5272255, 4.25228214, 4.19855928, 0.0679666698, 0.36827448, 0.927217185, -0.212974086, -0.902587652, 0.374107033, 0.974675775, -0.222893685, 0.017090857),CanCollide = false,})
  1425. Mesh = New("SpecialMesh",ConeMesh,"Mesh",{Scale = Vector3.new(0.0100221895, 0.334072918, 0.0100221895),MeshId = "http://www.roblox.com/asset/?id=1033714",MeshType = Enum.MeshType.FileMesh,})
  1426. mot = New("Motor",ConeMesh,"mot",{Part0 = ConeMesh,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.368277669, -0.902593136, -0.22289744, 0.927222073, 0.374108285, 0.0170900673),C1 = CFrame.new(-0.0147144794, 0.0299873352, 0.329668999, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1427. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(18.0725803, 4.09775925, 3.73087263, 0.0676794201, 0.685131252, -0.725253105, 0.385200679, 0.652613938, 0.652452171, 0.920328856, -0.32352671, -0.219753891),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1428. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1429. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0676779896, 0.385204017, 0.920336962, 0.685135067, 0.652616382, -0.323529571, -0.725257397, 0.652455926, -0.219753653),C1 = CFrame.new(-0.685684681, 0.273569107, 0.155054092, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1430. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Ball,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(17.4762096, 4.37637663, 4.2292285, 0.0679666698, 0.927216947, -0.368275285, -0.212974086, 0.374107838, 0.902587295, 0.974675775, 0.0170910954, 0.222893804),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),})
  1431. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1432. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0679656863, -0.212973878, 0.974683523, 0.927221835, 0.374109089, 0.0170903057, -0.368278474, 0.902592778, 0.22289747),C1 = CFrame.new(0.0758080482, 0.0887422562, 0.4150877, -0.408491671, 0.353551745, 0.841502249, 0.666965187, 0.745008111, 0.0107554942, -0.623126268, 0.565648913, -0.540138841),})
  1433.  
  1434. --lazi xd
  1435. Needle = New("Model",char,"Needle",{})
  1436. Handle2 = New("Part",Needle,"Handle2",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(1, 2.4000001, 1),CFrame = CFrame.new(16.3492584, 4.78270006, 4.07852173, 0.0870969296, 0.578728557, -0.810855865, 0.54097569, -0.710955501, -0.449318945, -0.836516261, -0.399518967, -0.375000119),BackSurface = Enum.SurfaceType.Weld,BottomSurface = Enum.SurfaceType.Weld,FrontSurface = Enum.SurfaceType.Weld,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,TopSurface = Enum.SurfaceType.Weld,})
  1437. Mesh = New("SpecialMesh",Handle2,"Mesh",{Scale = Vector3.new(0.100000001, 0.800000012, 0.100000001),MeshId = "http://www.roblox.com/asset/?id=1082802",MeshType = Enum.MeshType.FileMesh,})
  1438.  
  1439.  
  1440. for _, v in pairs(Doll:GetChildren()) do
  1441. if v:IsA'BasePart' then
  1442. v.CanCollide = false
  1443. end
  1444. end
  1445.  
  1446. for _, v in pairs(Needle:GetChildren()) do
  1447. if v:IsA'BasePart' then
  1448. v.CanCollide = false
  1449. end
  1450. end
  1451.  
  1452.  
  1453. local NewInstance = function(instance,parent,properties)
  1454. local inst = Instance.new(instance,parent)
  1455. if(properties)then
  1456. for i,v in next, properties do
  1457. pcall(function() inst[i] = v end)
  1458. end
  1459. end
  1460. return inst;
  1461. end
  1462. local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(-.2,-.8,-.4)*CFrame.Angles(math.rad(-30),math.rad(220),math.rad(65))})
  1463.  
  1464. local HW2 = NewInstance('Weld',char,{Part0=la,Part1=Handle2,C0 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(125),math.rad(90))})
  1465.  
  1466. -------------------------------------------------------
  1467. --Start Customization--
  1468. -------------------------------------------------------
  1469. local Player_Size = 1
  1470. if Player_Size ~= 1 then
  1471. root.Size = root.Size * Player_Size
  1472. tors.Size = tors.Size * Player_Size
  1473. hed.Size = hed.Size * Player_Size
  1474. ra.Size = ra.Size * Player_Size
  1475. la.Size = la.Size * Player_Size
  1476. rl.Size = rl.Size * Player_Size
  1477. ll.Size = ll.Size * Player_Size
  1478. ----------------------------------------------------------------------------------
  1479. rootj.Parent = root
  1480. neck.Parent = tors
  1481. RW.Parent = tors
  1482. LW.Parent = tors
  1483. RH.Parent = tors
  1484. LH.Parent = tors
  1485. ----------------------------------------------------------------------------------
  1486. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1487. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1488. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1489. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1490. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1491. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1492. ----------------------------------------------------------------------------------
  1493. 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))
  1494. 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))
  1495. 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))
  1496. 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))
  1497. --hat.Parent = Character
  1498. end
  1499. ----------------------------------------------------------------------------------
  1500. local SONG = 486598641
  1501. local SONG2 = 0
  1502. local Music = Instance.new("Sound",tors)
  1503. Music.Volume = 5
  1504. Music.Looped = true
  1505. Music.Pitch = 1 --Pitcher
  1506. ----------------------------------------------------------------------------------
  1507. local equipped = false
  1508. local idle = 0
  1509. local change = 1
  1510. local val = 0
  1511. local toim = 0
  1512. local idleanim = 0.4
  1513. local sine = 0
  1514. local Sit = 1
  1515. ----------------------------------------------------------------------------------
  1516. hum.WalkSpeed = 8
  1517. hum.JumpPower = 57
  1518. hum.Animator.Parent = nil
  1519. hed.face.Texture = "rbxassetid://138140944"
  1520. ----------------------------------------------------------------------------------
  1521. for i = 1, 35 do
  1522. local FACE = CreatePart(3, char, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", Vector3.new(1.01,0.5,1.01),false)
  1523. FACE.Color = Color3.new(0,0,0)
  1524. hed:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1525. CreateWeldOrSnapOrMotor("Weld", hed, hed, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  1526. end
  1527. local LASTPART = hed
  1528. for i = 1, 42 do
  1529. local MATH = (1-(i/30))
  1530. if LASTPART == hed then
  1531. local Horn = CreatePart(3, char, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", Vector3.new(0.15*MATH,0.15,0.15*MATH),false)
  1532. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * angles(Rad(25), Rad(15), Rad(-15)), CF(0, 0, 0))
  1533. LASTPART = Horn
  1534. Horn.Color = Color3.new((i*2-2)/140,0,0)
  1535. else
  1536. local Horn = CreatePart(3, char, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", Vector3.new(0.15*MATH,0.15,0.15*MATH),false)
  1537. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * angles(Rad(6), Rad(-0.3), Rad(0)), CF(0, 0, 0))
  1538. LASTPART = Horn
  1539. Horn.Color = Color3.new((i*2-4)/140,0,0)
  1540. end
  1541. end
  1542.  
  1543. -------------------------------------------------------
  1544. --End Customization--
  1545. -------------------------------------------------------
  1546.  
  1547.  
  1548. -------------------------------------------------------
  1549. --Start Attacks N Stuff--
  1550. -------------------------------------------------------
  1551.  
  1552. function dmg(dude)
  1553. if dude.Name ~= char then
  1554. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1555. local bgf = Instance.new("BodyGyro",dude.Head)
  1556. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1557. local val = Instance.new("BoolValue",dude)
  1558. val.Name = "IsHit"
  1559. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  1560. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1561. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1562. partasdeff.LightEmission = .1
  1563. partasdeff.Size = NumberSequence.new(0.2)
  1564. partasdeff.Texture = "rbxassetid://771221224"
  1565. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1566. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1567. partasdeff.Transparency = bbb
  1568. partasdeff.Size = aaa
  1569. partasdeff.ZOffset = .9
  1570. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1571. partasdeff.LockedToPart = false
  1572. partasdeff.EmissionDirection = "Back"
  1573. partasdeff.Lifetime = NumberRange.new(1, 2)
  1574. partasdeff.Rate = 1000
  1575. partasdeff.Rotation = NumberRange.new(-100, 100)
  1576. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1577. partasdeff.Speed = NumberRange.new(6)
  1578. partasdeff.VelocitySpread = 10000
  1579. partasdeff.Enabled=false
  1580. partasdeff:Emit(30)
  1581. coroutine.wrap(function()
  1582. targetted = nil
  1583. swait(30)
  1584. dude:BreakJoints()
  1585. Effects.Sphere.Create(BrickColor.new("Crimson"), dude.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1586. swait(5)
  1587. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1588. for i=0,1,.05 do
  1589. for a,v in pairs(dude:GetChildren()) do
  1590. if v:IsA("BasePart") then
  1591. v.Transparency = 1
  1592. end
  1593. end
  1594. swait()
  1595. end
  1596. for a,v in pairs(dude:GetChildren()) do
  1597. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1598. v.ParticleEmitter.Enabled = false
  1599. end
  1600. game:service'Debris':AddItem(v,2)
  1601. end
  1602. end)()
  1603. end
  1604. end
  1605.  
  1606. --lazi
  1607. function kdown(dd)
  1608. if dd.Name ~= char then
  1609. dd.Humanoid.PlatformStand = true
  1610. local bgf = Instance.new("BodyGyro",dd.Head)
  1611. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1612. local val = Instance.new("BoolValue",dd)
  1613. val.Name = "IsHit"
  1614. end
  1615. end
  1616.  
  1617. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1618. --local buddy
  1619. for _, c in pairs(workspace:children()) do
  1620. local hum = c:findFirstChild("Humanoid")
  1621. if hum ~= nil then
  1622. local head = c:findFirstChild("Torso")
  1623. if head ~= nil then
  1624. local targ = head.Position - Part.Position
  1625. local mag = targ.magnitude
  1626. if mag <= Magnitude and c.Name ~= plr.Name then
  1627. if c.Name ~= char then
  1628. if c.Name ~= "Creterisk" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "XXUNORIBOASXX" then
  1629. local asd = Instance.new("ParticleEmitter",c.Torso)
  1630. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1631. asd.LightEmission = .1
  1632. asd.Size = NumberSequence.new(0.2)
  1633. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1634. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1635. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1636. asd.Transparency = bbb
  1637. asd.Size = aaa
  1638. asd.ZOffset = .9
  1639. asd.Acceleration = Vector3.new(0, -5, 0)
  1640. asd.LockedToPart = false
  1641. asd.EmissionDirection = "Back"
  1642. asd.Lifetime = NumberRange.new(1, 2)
  1643. asd.Rate = 1000
  1644. asd.Rotation = NumberRange.new(-100, 100)
  1645. asd.RotSpeed = NumberRange.new(-100, 100)
  1646. asd.Speed = NumberRange.new(6)
  1647. asd.VelocitySpread = 10000
  1648. asd.Enabled=true
  1649. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1650. dmg(c)
  1651. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  1652. coroutine.wrap(function()
  1653. wait(.2)
  1654. asd.Enabled = false
  1655. wait(2)
  1656. asd:Remove()
  1657. end)()
  1658. else
  1659. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
  1660. Effects.Sphere.Create(BrickColor.new("Crimson"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1661.  
  1662. end
  1663. end
  1664. end
  1665. end
  1666. end
  1667. end
  1668. end
  1669.  
  1670. local sine=0
  1671. function targett()
  1672. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1673. TargetSelect(mouse.Target.Parent)
  1674. CreateSound("743521450", char, 1, .8)
  1675. end
  1676. end
  1677.  
  1678. function HAAH()
  1679. attack = true
  1680. hum.WalkSpeed = 0
  1681. Cso("300208779", hed, 10, 1)
  1682. for i = 0,9,0.1 do
  1683. swait()
  1684. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  1685. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  1686. if Mrandom(1,15) == 1 then
  1687. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  1688. end
  1689. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  1690. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  1691. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  1692. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  1693. end
  1694. attack = false
  1695. hum.WalkSpeed = 10
  1696. end
  1697.  
  1698. function doot_n_die()
  1699. attack = true
  1700. hum.WalkSpeed = 0
  1701. if targetted.Name ~= "Creterisk" and targetted.Name ~= "XXUNORIBOASXX" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1702. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1703. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1704. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1705. partasdeff.LightEmission = .1
  1706. partasdeff.Size = NumberSequence.new(0.2)
  1707. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1708. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1709. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1710. partasdeff.Transparency = bbb
  1711. partasdeff.Size = aaa
  1712. partasdeff.ZOffset = .9
  1713. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1714. partasdeff.LockedToPart = false
  1715. partasdeff.EmissionDirection = "Back"
  1716. partasdeff.Lifetime = NumberRange.new(1, 2)
  1717. partasdeff.Rate = 1000
  1718. partasdeff.Rotation = NumberRange.new(-100, 100)
  1719. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1720. partasdeff.Speed = NumberRange.new(6)
  1721. partasdeff.VelocitySpread = 10000
  1722. partasdeff.Enabled=false
  1723. for i = 0, 2.4, 0.1 do
  1724. swait()
  1725. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1726. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1727. if Mrandom(1,15) == 1 then
  1728. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1729. end
  1730. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1731. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1732. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1733. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1734. end
  1735. for i = 0, 1.4, 0.1 do
  1736. swait()
  1737. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1738. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1739. if Mrandom(1,15) == 1 then
  1740. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-50,50)), Rad(Mrandom(-50,50)), Rad(Mrandom(-50,50))), 0.3)
  1741. end
  1742. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1743. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1744. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(85), Rad(0), Rad(-15)), 0.1)
  1745. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1746. end
  1747. dmg(targetted)
  1748. partasdeff.Enabled=true
  1749. CreateSound("429400881", torsy, 10, .8)
  1750. for i = 0, 1.4, 0.1 do
  1751. swait()
  1752. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1753. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1754. if Mrandom(1,15) == 1 then
  1755. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1756. end
  1757. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1758. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1759. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1760. LW.C0 = clerp(LW.C0, CF(-.4, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(65)), 0.1)
  1761. end
  1762. partasdeff.Enabled=false
  1763. for i = 0, 1.4, 0.1 do
  1764. swait()
  1765. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1766. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1767. if Mrandom(1,15) == 1 then
  1768. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1769. end
  1770. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1771. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1772. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1773. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1774. end
  1775. attack = false
  1776. hum.WalkSpeed = 8
  1777. elseif targetted.Name == "Creterisk" then
  1778. for i = 0, 2.4, 0.1 do
  1779. swait()
  1780. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1781. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1782. if Mrandom(1,15) == 1 then
  1783. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1784. end
  1785. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1786. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1787. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1788. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1789. end
  1790. for i = 0, 2.4, 0.1 do
  1791. swait()
  1792. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1793. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1794. if Mrandom(1,15) == 1 then
  1795. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1796. end
  1797. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1798. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1799. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1800. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1801. end
  1802. coroutine.wrap(function()
  1803. wait(2)
  1804. --partasdeff:Remove()
  1805. end)()
  1806. local sel = Mrandom(1,3)
  1807. if sel == 1 then
  1808. chatfunc("Damn, I am dumb.")
  1809. elseif sel == 2 then
  1810. chatfunc("CREATOR, HELP ME.")
  1811. elseif sel == 3 then
  1812. chatfunc("Senpai, notice me.")
  1813. end
  1814. wait(2)
  1815. hum.WalkSpeed = 8
  1816. attack = false
  1817. elseif targetted.Name == "XXUNORIBOASXX" then
  1818. for i = 0, 2.4, 0.1 do
  1819. swait()
  1820. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1821. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1822. if Mrandom(1,15) == 1 then
  1823. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1824. end
  1825. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1826. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1827. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1828. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1829. end
  1830. for i = 0, 2.4, 0.1 do
  1831. swait()
  1832. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1833. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1834. if Mrandom(1,15) == 1 then
  1835. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1836. end
  1837. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1838. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1839. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1840. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1841. end
  1842. coroutine.wrap(function()
  1843. wait(2)
  1844. --partasdeff:Remove()
  1845. end)()
  1846. local sel = Mrandom(1,3)
  1847. if sel == 1 then
  1848. chatfunc("HEHEHEHEHEHEHE")
  1849. elseif sel == 2 then
  1850. chatfunc("ducc.")
  1851. elseif sel == 3 then
  1852. chatfunc("Excuse me what?")
  1853. end
  1854. wait(2)
  1855. hum.WalkSpeed = 8
  1856. attack = false
  1857. elseif targetted.Name == "Nebula_Zorua" then
  1858. for i = 0, 2.4, 0.1 do
  1859. swait()
  1860. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1861. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1862. if Mrandom(1,15) == 1 then
  1863. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1864. end
  1865. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1866. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1867. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1868. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1869. end
  1870. for i = 0, 2.4, 0.1 do
  1871. swait()
  1872. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1873. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1874. if Mrandom(1,15) == 1 then
  1875. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1876. end
  1877. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1878. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1879. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1880. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1881. end
  1882. coroutine.wrap(function()
  1883. wait(2)
  1884. --partasdeff:Remove()
  1885. end)()
  1886. local sel = Mrandom(1,3)
  1887. if sel == 1 then
  1888. chatfunc("floof.")
  1889. elseif sel == 2 then
  1890. chatfunc("Wh-what?")
  1891. elseif sel == 3 then
  1892. chatfunc("I have mistaken..")
  1893. end
  1894. wait(2)
  1895. hum.WalkSpeed = 8
  1896. attack = false
  1897. elseif targetted.Name == "KillerDarkness0105" then
  1898. for i = 0, 2.4, 0.1 do
  1899. swait()
  1900. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1901. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1902. if Mrandom(1,15) == 1 then
  1903. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1904. end
  1905. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1906. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1907. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1908. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(175), Rad(0), Rad(20)), 0.1)
  1909. end
  1910. for i = 0, 2.4, 0.1 do
  1911. swait()
  1912. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1913. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1914. if Mrandom(1,15) == 1 then
  1915. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1916. end
  1917. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1918. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1919. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1920. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1921. end
  1922. coroutine.wrap(function()
  1923. wait(2)
  1924. --partasdeff:Remove()
  1925. end)()
  1926. local sel = Mrandom(1,3)
  1927. if sel == 1 then
  1928. chatfunc("Gale Fighter was a nice script, after all.")
  1929. elseif sel == 2 then
  1930. chatfunc("Ding dong, bing bong.")
  1931. elseif sel == 3 then
  1932. chatfunc("hehe.. hehehe..")
  1933. end
  1934. wait(2)
  1935. hum.WalkSpeed = 8
  1936. attack = false
  1937. end
  1938. end
  1939.  
  1940. function doot_die_pls()
  1941. attack = true
  1942. hum.WalkSpeed = 0
  1943. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1944. for i = 0, 2, 0.1 do
  1945. swait()
  1946. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(25)), 0.15)
  1947. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1948. if Mrandom(1,15) == 1 then
  1949. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1950. end
  1951. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1952. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1953. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  1954. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10)), 0.1)
  1955. end
  1956. coroutine.resume(coroutine.create(function()
  1957. for i = 1,10 do
  1958. swait()
  1959. local Pully = Create("BodyPosition")({
  1960. P = 9000,
  1961. D = 1000,
  1962. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1963. position = ra.Position - ra.CFrame.lookVector * 6,
  1964. Parent = torsy
  1965. })
  1966. game:GetService("Debris"):AddItem(Pully, 0.2)
  1967. wait()
  1968. end
  1969. end))
  1970. CreateSound("541909814", torsy, 10, 1)
  1971. CreateSound("131228548", hed, 10, 1)
  1972. for i = 0, 2.2, 0.1 do
  1973. swait()
  1974. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-35)), 0.15)
  1975. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
  1976. if Mrandom(1,15) == 1 then
  1977. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1978. end
  1979. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(17), Rad(-10)), 0.15)
  1980. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1981. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(5)), 0.1)
  1982. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(-5)), 0.1)
  1983. end
  1984. attack = false
  1985. hum.WalkSpeed = 8
  1986. end
  1987.  
  1988. code = 1678 --jk it doesnt work
  1989.  
  1990. function abc()
  1991. thing = true
  1992. chatfunc("WHY...")
  1993. wait(0.85)
  1994. chatfunc("WHY?!")
  1995. wait(1)
  1996. chatfunc("WHY MUST MY LIFE BE LIKE THIS?! I can't.. take it anymore...")
  1997. wait(1)
  1998. Music:Stop()
  1999. attack = true
  2000. hum.WalkSpeed = 0
  2001. hum.JumpPower = 0
  2002. for i = 0,6,0.1 do
  2003. swait()
  2004. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2005. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2006. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2007. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2008. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2009. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(140), Rad(0), Rad(15)), 0.1)
  2010. end
  2011. CreateSound("1093102664", hed, 10, 1)
  2012. for _, v in pairs(Needle:GetChildren()) do
  2013. if v:IsA'BasePart' then
  2014. v:Remove()
  2015. end
  2016. end
  2017. for i = 0,4,0.1 do
  2018. swait()
  2019. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  2020. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(5), Rad(0), Rad(0)), 0.4)
  2021. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2022. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2023. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  2024. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), -0.025 * Cos(sine / 20)) * angles(Rad(40), Rad(0), Rad(40)), 0.4)
  2025. end
  2026. for i = 0,6,0.1 do
  2027. swait()
  2028. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
  2029. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
  2030. RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
  2031. LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2032. RW.C0 = clerp(RW.C0, CF(1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(25)), 0.1)
  2033. LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-25)), 0.1)
  2034. end
  2035. for i = 0,6,0.1 do
  2036. swait()
  2037. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  2038. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2039. 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(80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  2040. 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(-80), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
  2041. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
  2042. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0 - 4.5 * Sin(sine / 20)), Rad(-13)), 0.1)
  2043. end
  2044. Anchor()
  2045. wait(2)
  2046. chatfunc("I hope I never see you again..")
  2047. wait(1)
  2048. dmg(char)
  2049. print("It seems you've died! CONGRATS!")
  2050. for _, v in pairs(Doll:GetChildren()) do
  2051. if v:IsA'BasePart' then
  2052. v:Remove()
  2053. end
  2054. end
  2055. thing = false
  2056. end
  2057.  
  2058. csosoundyi = Instance.new("Sound", hed)
  2059. csosoundyi.SoundId = "rbxassetid://178038408"
  2060. csosoundyi.Volume = 10
  2061. csosoundyi.Pitch = 1
  2062.  
  2063. function HAAH()
  2064. attack = true
  2065. hum.WalkSpeed = 0
  2066. csosoundyi:Play()
  2067. repeat
  2068. swait()
  2069. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 2)) * angles(Rad(-30), Rad(0), Rad(0)), 0.15)
  2070. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30 - 2.5 * Sin(sine / 2)), Rad(0), Rad(0)), 0.3)
  2071. if Mrandom(1,15) == 1 then
  2072. tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15)), Rad(Mrandom(-15,15))), 1)
  2073. end
  2074. RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * RHCF * angles(Rad(-4.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-30)), 0.15)
  2075. LH.C0 = clerp(LH.C0, CF(-1, -1 - 0.1 * Cos(sine / 2), 0.025 * Cos(sine / 2)) * LHCF * angles(Rad(-6.5 - 7.5 * Sin(sine / 2)), Rad(0), Rad(30)), 0.15)
  2076. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(15 - 7.5 * Sin(sine / 2))), 0.1)
  2077. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 2), 0.025 * Cos(sine / 2)) * angles(Rad(-35 - 7.5 * Sin(sine / 2)), Rad(0), Rad(-15 - 7.5 * Sin(sine / 2))), 0.1)
  2078. until csosoundyi.Playing == false
  2079. attack = false
  2080. hum.WalkSpeed = 10
  2081. end
  2082.  
  2083. thing = false
  2084.  
  2085. mouse.Button1Down:connect(function()
  2086. if attack == false and targetted ~= nil and thing == false then
  2087. doot_n_die()
  2088. GlowParticle.Enabled = false
  2089. end
  2090. end)
  2091.  
  2092. mouse.KeyDown:connect(function(key)
  2093. if attack == false then
  2094. if key == 'q' and thing == false then
  2095. targett()
  2096. elseif key == 'x' and targetted ~= nil and thing == false then
  2097. doot_die_pls()
  2098. elseif key == 'r' and targetted ~= nil and thing == false then
  2099. CreateSound("174271590", hed, .4, math.random(5, 15) / 5)
  2100. root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
  2101. elseif key == 'p' then
  2102. abc()
  2103. elseif key == 't' and thing == false then
  2104. HAAH()
  2105. end
  2106. end
  2107. end)
  2108.  
  2109. -------------------------------------------------------
  2110. --End Attacks N Stuff--
  2111. -------------------------------------------------------
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121. -------------------------------------------------------
  2122. --Start Animations--
  2123. -------------------------------------------------------
  2124. print("By Makhail07, FINISHED BY XXUNORIBOASXX >:D")
  2125. Music.SoundId = "rbxassetid://"..SONG
  2126. Music.Looped = true
  2127. Music.Pitch = 1
  2128. Music.Volume = 2
  2129. Music.Parent = char
  2130. Music:Resume()
  2131. --AAAAAAAAAAAAAAAA
  2132. while true do
  2133. swait()
  2134. sine = sine + change
  2135. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2136. local velderp = root.Velocity.y
  2137. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2138. if equipped == true or equipped == false then
  2139. if attack == false then
  2140. idle = idle + 1
  2141. else
  2142. idle = 0
  2143. end
  2144. if 1 < root.Velocity.y and hitfloor == nil then
  2145. Anim = "Jump"
  2146. if attack == false then
  2147. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2148. 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)
  2149. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2150. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20), 0* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2151. RW.C0 = clerp(RW.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)
  2152. 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)
  2153. end
  2154. elseif -1 > root.Velocity.y and hitfloor == nil then
  2155. Anim = "Fall"
  2156. if attack == false then
  2157. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  2158. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2159. 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)
  2160. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-8.5), Rad(0), Rad(0)), 0.15)
  2161. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(165 + 4.5 * Sin(sine / 20))), 0.1)
  2162. 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(-165 - 4.5 * Sin(sine / 20))), 0.1)
  2163. end
  2164. elseif torvel < 1 and hitfloor ~= nil then
  2165. Anim = "Idle"
  2166. change = 1
  2167. if attack == false then
  2168. HeadTwitch = false
  2169. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2170. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 30)), Rad(0), Rad(-20 + 2 * Cos(sine / .25))), 0.3)
  2171. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(85), Rad(0)) * angles(Rad(-9.5), Rad(0), Rad(20)), 0.15)
  2172. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, -0.1* Player_Size) * angles(Rad(0), Rad(-85), Rad(0)) * angles(Rad(-9.5), Rad(0), Rad(-20)), 0.15)
  2173. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(5), Rad(13)), 0.1)
  2174. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0 - 4.5 * Sin(sine / 20)), Rad(-13)), 0.1)
  2175. if HeadTwitch == false and Mrandom(1, 25) == 1 then
  2176. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(Mrandom(-90, 90)), Rad(Mrandom(-90, 90)), Rad(Mrandom(-90, 90))), 0.15)
  2177. end
  2178. end
  2179. elseif torvel < 50 and hitfloor ~= nil then
  2180. Anim = "Walk"
  2181. change = 1
  2182. if attack == false then
  2183. 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(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2184. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2185. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2186. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2187. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(75) , Rad(8 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
  2188. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2189. end
  2190. end
  2191. end
  2192. if 0 < #Effects then
  2193. for e = 1, #Effects do
  2194. if Effects[e] ~= nil then
  2195. local Thing = Effects[e]
  2196. if Thing ~= nil then
  2197. local Part = Thing[1]
  2198. local Mode = Thing[2]
  2199. local Delay = Thing[3]
  2200. local IncX = Thing[4]
  2201. local IncY = Thing[5]
  2202. local IncZ = Thing[6]
  2203. if 1 >= Thing[1].Transparency then
  2204. if Thing[2] == "Block1" then
  2205. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2206. local Mesh = Thing[1].Mesh
  2207. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2208. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2209. elseif Thing[2] == "Block2" then
  2210. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2211. local Mesh = Thing[7]
  2212. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2213. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2214. elseif Thing[2] == "Block3" then
  2215. 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)
  2216. local Mesh = Thing[7]
  2217. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2218. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2219. elseif Thing[2] == "Cylinder" then
  2220. local Mesh = Thing[1].Mesh
  2221. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2222. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2223. elseif Thing[2] == "Blood" then
  2224. local Mesh = Thing[7]
  2225. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2226. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2227. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2228. elseif Thing[2] == "Elec" then
  2229. local Mesh = Thing[1].Mesh
  2230. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2231. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2232. elseif Thing[2] == "Disappear" then
  2233. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2234. elseif Thing[2] == "Shatter" then
  2235. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2236. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2237. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2238. Thing[6] = Thing[6] + Thing[5]
  2239. end
  2240. else
  2241. Part.Parent = nil
  2242. table.remove(Effects, e)
  2243. end
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement