Advertisement
nuttanun734

test

Dec 11th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 102.75 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Targer = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. return RealPlayer[Index]
  88. end
  89. end;
  90. __tostring = function(self)
  91. return RealPlayer.Name
  92. end
  93. })
  94. end
  95. end
  96. if RealGame[Index] then
  97. local Type = type(RealGame[Index])
  98. if Type == "function" then
  99. if Index:lower() == "getservice" or Index:lower() == "service" then
  100. return function (self,Service)
  101. if Service:lower() == "players" then
  102. return setmetatable({},{
  103. __index = function (self2,Index2)
  104. local RealService = RealGame:GetService(Service)
  105. local Type2 = type(Index2)
  106. if Type2 == "function" then
  107. return function (self,...)
  108. return RealService[Index2](RealService,...)
  109. end
  110. else
  111. if Index2:lower() == "localplayer" then
  112. return Sandbox(owner)
  113. end
  114. return RealService[Index2]
  115. end
  116. end;
  117. __tostring = function(self)
  118. return RealGame:GetService(Service).Name
  119. end
  120. })
  121. elseif Service:lower() == "contextactionservice" then
  122. return InternalData["ContextActionService"]
  123. elseif Service:lower() == "contextactionservice" then
  124. return InternalData["UserInputService"]
  125. elseif Service:lower() == "runservice" then
  126. return setmetatable({},{
  127. __index = function(self2,Index2)
  128. local RealService = RealGame:GetService(Service)
  129. local Type2 = type(Index2)
  130. if Type2 == "function" then
  131. return function (self,...)
  132. return RealService[Index2](RealService,...)
  133. end
  134. else
  135. if Index2:lower() == "bindtorenderstep" then
  136. return function (self,Name,Priority,Function)
  137. return RealGame:GetService("RunService").Stepped:Connect(Function)
  138. end
  139. end
  140. if Index2:lower() == "renderstepped" then
  141. return RealService["Stepped"]
  142. end
  143. return RealService[Index2]
  144. end
  145. end
  146. })
  147. else
  148. return RealGame:GetService(Service)
  149. end
  150. end
  151. end
  152. return function (self,...)
  153. return RealGame[Index](RealGame,...)
  154. end
  155. else
  156. if game:GetService(Index) then
  157. return game:GetService(Index)
  158. end
  159. return RealGame[Index]
  160. end
  161. else
  162. return nil
  163. end
  164. end
  165. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  166. print("Complete! Running...")
  167.  
  168. -----------------------
  169. --Voodoo Child--
  170. -------------------------------------------------------
  171. --A script By makhail07
  172.  
  173. --Discord Creterisk#2958
  174. -------------------------------------------------------
  175.  
  176. local FavIDs = {
  177. 340106355, --Nefl Crystals
  178. 927529620, --Dimension
  179. 876981900, --Fantasy
  180. 398987889, --Ordinary Days
  181. 1117396305, --Oh wait, it's you.
  182. 885996042, --Action Winter Journey
  183. 919231299, --Sprawling Idiot Effigy
  184. 743466274, --Good Day Sunshine
  185. 727411183, --Knife Fight
  186. 1402748531, --The Earth Is Counting On You!
  187. 595230126 --Robot Language
  188. }
  189.  
  190.  
  191.  
  192. --The reality of my life isn't real but a Universe -makhail07
  193. wait()
  194. local plr = game:service'Players'.LocalPlayer
  195. print('Local User is '..plr.Name)
  196. local char = plr.Character
  197. local hum = char.Humanoid
  198. local ra = char["Right Arm"]
  199. local la= char["Left Arm"]
  200. local rl= char["Right Leg"]
  201. local ll = char["Left Leg"]
  202. local hed = char.Head
  203. local root = char.HumanoidRootPart
  204. local rootj = root.RootJoint
  205. local tors = char.Torso
  206. local mouse = plr:GetMouse()
  207. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  208. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  209. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  210.  
  211.  
  212. -------------------------------------------------------
  213. --Start Good Stuff--
  214. -------------------------------------------------------
  215. CF = CFrame.new
  216. angles = CFrame.Angles
  217. attack = false
  218. Euler = CFrame.fromEulerAnglesXYZ
  219. Rad = math.rad
  220. IT = Instance.new
  221. BrickC = BrickColor.new
  222. Cos = math.cos
  223. Acos = math.acos
  224. Sin = math.sin
  225. Asin = math.asin
  226. Abs = math.abs
  227. Mrandom = math.random
  228. Floor = math.floor
  229. -------------------------------------------------------
  230. --End Good Stuff--
  231. -------------------------------------------------------
  232. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  233. RSH, LSH = nil, nil
  234. RW = Instance.new("Weld")
  235. LW = Instance.new("Weld")
  236. RH = tors["Right Hip"]
  237. LH = tors["Left Hip"]
  238. RSH = tors["Right Shoulder"]
  239. LSH = tors["Left Shoulder"]
  240. RSH.Parent = nil
  241. LSH.Parent = nil
  242. RW.Name = "RW"
  243. RW.Part0 = tors
  244. RW.C0 = CF(1.5, 0.5, 0)
  245. RW.C1 = CF(0, 0.5, 0)
  246. RW.Part1 = ra
  247. RW.Parent = tors
  248. LW.Name = "LW"
  249. LW.Part0 = tors
  250. LW.C0 = CF(-1.5, 0.5, 0)
  251. LW.C1 = CF(0, 0.5, 0)
  252. LW.Part1 = la
  253. LW.Parent = tors
  254. Effects = {}
  255.  
  256. -------------------------------------------------------
  257. --Start HeartBeat--
  258. -------------------------------------------------------
  259. ArtificialHB = Instance.new("BindableEvent", script)
  260. ArtificialHB.Name = "Heartbeat"
  261. script:WaitForChild("Heartbeat")
  262.  
  263. frame = 1 / 60
  264. tf = 0
  265. allowframeloss = false
  266. tossremainder = false
  267.  
  268.  
  269. lastframe = tick()
  270. script.Heartbeat:Fire()
  271.  
  272.  
  273. game:GetService("RunService").Heartbeat:connect(function(s, p)
  274. tf = tf + s
  275. if tf >= frame then
  276. if allowframeloss then
  277. script.Heartbeat:Fire()
  278. lastframe = tick()
  279. else
  280. for i = 1, math.floor(tf / frame) do
  281. script.Heartbeat:Fire()
  282. end
  283. lastframe = tick()
  284. end
  285. if tossremainder then
  286. tf = 0
  287. else
  288. tf = tf - frame * math.floor(tf / frame)
  289. end
  290. end
  291. end)
  292. -------------------------------------------------------
  293. --End HeartBeat--
  294. -------------------------------------------------------
  295.  
  296. -------------------------------------------------------
  297. --Start Important Functions--
  298. -------------------------------------------------------
  299. function swait(num)
  300. if num == 0 or num == nil then
  301. game:service("RunService").Stepped:wait(0)
  302. else
  303. for i = 0, num do
  304. game:service("RunService").Stepped:wait(0)
  305. end
  306. end
  307. end
  308. function thread(f)
  309. coroutine.resume(coroutine.create(f))
  310. end
  311. function clerp(a, b, t)
  312. local qa = {
  313. QuaternionFromCFrame(a)
  314. }
  315. local qb = {
  316. QuaternionFromCFrame(b)
  317. }
  318. local ax, ay, az = a.x, a.y, a.z
  319. local bx, by, bz = b.x, b.y, b.z
  320. local _t = 1 - t
  321. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  322. end
  323. function QuaternionFromCFrame(cf)
  324. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  325. local trace = m00 + m11 + m22
  326. if trace > 0 then
  327. local s = math.sqrt(1 + trace)
  328. local recip = 0.5 / s
  329. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  330. else
  331. local i = 0
  332. if m00 < m11 then
  333. i = 1
  334. end
  335. if m22 > (i == 0 and m00 or m11) then
  336. i = 2
  337. end
  338. if i == 0 then
  339. local s = math.sqrt(m00 - m11 - m22 + 1)
  340. local recip = 0.5 / s
  341. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  342. elseif i == 1 then
  343. local s = math.sqrt(m11 - m22 - m00 + 1)
  344. local recip = 0.5 / s
  345. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  346. elseif i == 2 then
  347. local s = math.sqrt(m22 - m00 - m11 + 1)
  348. local recip = 0.5 / s
  349. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  350. end
  351. end
  352. end
  353. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  354. local xs, ys, zs = x + x, y + y, z + z
  355. local wx, wy, wz = w * xs, w * ys, w * zs
  356. local xx = x * xs
  357. local xy = x * ys
  358. local xz = x * zs
  359. local yy = y * ys
  360. local yz = y * zs
  361. local zz = z * zs
  362. 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))
  363. end
  364. function QuaternionSlerp(a, b, t)
  365. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  366. local startInterp, finishInterp
  367. if cosTheta >= 1.0E-4 then
  368. if 1 - cosTheta > 1.0E-4 then
  369. local theta = math.acos(cosTheta)
  370. local invSinTheta = 1 / Sin(theta)
  371. startInterp = Sin((1 - t) * theta) * invSinTheta
  372. finishInterp = Sin(t * theta) * invSinTheta
  373. else
  374. startInterp = 1 - t
  375. finishInterp = t
  376. end
  377. elseif 1 + cosTheta > 1.0E-4 then
  378. local theta = math.acos(-cosTheta)
  379. local invSinTheta = 1 / Sin(theta)
  380. startInterp = Sin((t - 1) * theta) * invSinTheta
  381. finishInterp = Sin(t * theta) * invSinTheta
  382. else
  383. startInterp = t - 1
  384. finishInterp = t
  385. end
  386. 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
  387. end
  388. function rayCast(Position, Direction, Range, Ignore)
  389. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  390. end
  391. local RbxUtility = LoadLibrary("RbxUtility")
  392. local Create = RbxUtility.Create
  393.  
  394. -------------------------------------------------------
  395. --Start Damage Function--
  396. -------------------------------------------------------
  397. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  398. if hit.Parent == nil then
  399. return
  400. end
  401. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  402. for _, v in pairs(hit.Parent:children()) do
  403. if v:IsA("Humanoid") then
  404. h = v
  405. end
  406. end
  407. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  408.  
  409. hit.Parent:FindFirstChild("Head"):BreakJoints()
  410. end
  411.  
  412. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  413. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  414. if hit.Parent.DebounceHit.Value == true then
  415. return
  416. end
  417. end
  418. if insta == true then
  419. hit.Parent:FindFirstChild("Head"):BreakJoints()
  420. end
  421. local c = Create("ObjectValue"){
  422. Name = "creator",
  423. Value = game:service("Players").LocalPlayer,
  424. Parent = h,
  425. }
  426. game:GetService("Debris"):AddItem(c, .5)
  427. if HitSound ~= nil and HitPitch ~= nil then
  428. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  429. end
  430. local Damage = math.random(minim, maxim)
  431. local blocked = false
  432. local block = hit.Parent:findFirstChild("Block")
  433. if block ~= nil then
  434. if block.className == "IntValue" then
  435. if block.Value > 0 then
  436. blocked = true
  437. block.Value = block.Value - 1
  438. print(block.Value)
  439. end
  440. end
  441. end
  442. if blocked == false then
  443. h.Health = h.Health - Damage
  444. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  445. else
  446. h.Health = h.Health - (Damage / 2)
  447. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  448. end
  449. if Type == "Knockdown" then
  450. local hum = hit.Parent.Humanoid
  451. hum.PlatformStand = true
  452. coroutine.resume(coroutine.create(function(HHumanoid)
  453. swait(1)
  454. HHumanoid.PlatformStand = false
  455. end), hum)
  456. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  457. local bodvol = Create("BodyVelocity"){
  458. velocity = angle * knockback,
  459. P = 5000,
  460. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  461. Parent = hit,
  462. }
  463. local rl = Create("BodyAngularVelocity"){
  464. P = 3000,
  465. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  466. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  467. Parent = hit,
  468. }
  469. game:GetService("Debris"):AddItem(bodvol, .5)
  470. game:GetService("Debris"):AddItem(rl, .5)
  471. elseif Type == "Normal" then
  472. local vp = Create("BodyVelocity"){
  473. P = 500,
  474. maxForce = Vector3.new(math.huge, 0, math.huge),
  475. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  476. }
  477. if knockback > 0 then
  478. vp.Parent = hit.Parent.Torso
  479. end
  480. game:GetService("Debris"):AddItem(vp, .5)
  481. elseif Type == "Up" then
  482. local bodyVelocity = Create("BodyVelocity"){
  483. velocity = Vector3.new(0, 20, 0),
  484. P = 5000,
  485. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  486. Parent = hit,
  487. }
  488. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  489. elseif Type == "DarkUp" then
  490. coroutine.resume(coroutine.create(function()
  491. for i = 0, 1, 0.1 do
  492. swait()
  493. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  494. end
  495. end))
  496. local bodyVelocity = Create("BodyVelocity"){
  497. velocity = Vector3.new(0, 20, 0),
  498. P = 5000,
  499. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  500. Parent = hit,
  501. }
  502. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  503. elseif Type == "Snare" then
  504. local bp = Create("BodyPosition"){
  505. P = 2000,
  506. D = 100,
  507. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  508. position = hit.Parent.Torso.Position,
  509. Parent = hit.Parent.Torso,
  510. }
  511. game:GetService("Debris"):AddItem(bp, 1)
  512. elseif Type == "Freeze" then
  513. local BodPos = Create("BodyPosition"){
  514. P = 50000,
  515. D = 1000,
  516. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  517. position = hit.Parent.Torso.Position,
  518. Parent = hit.Parent.Torso,
  519. }
  520. local BodGy = Create("BodyGyro") {
  521. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  522. P = 20e+003,
  523. Parent = hit.Parent.Torso,
  524. cframe = hit.Parent.Torso.CFrame,
  525. }
  526. hit.Parent.Torso.Anchored = true
  527. coroutine.resume(coroutine.create(function(Part)
  528. swait(1.5)
  529. Part.Anchored = false
  530. end), hit.Parent.Torso)
  531. game:GetService("Debris"):AddItem(BodPos, 3)
  532. game:GetService("Debris"):AddItem(BodGy, 3)
  533. end
  534. local debounce = Create("BoolValue"){
  535. Name = "DebounceHit",
  536. Parent = hit.Parent,
  537. Value = true,
  538. }
  539. game:GetService("Debris"):AddItem(debounce, Delay)
  540. c = Create("ObjectValue"){
  541. Name = "creator",
  542. Value = Player,
  543. Parent = h,
  544. }
  545. game:GetService("Debris"):AddItem(c, .5)
  546. end
  547. end
  548. -------------------------------------------------------
  549. --End Damage Function--
  550. -------------------------------------------------------
  551.  
  552. -------------------------------------------------------
  553. --Start Damage Function Customization--
  554. -------------------------------------------------------
  555. function ShowDamage(Pos, Text, Time, Color)
  556. local Rate = (1 / 30)
  557. local Pos = (Pos or Vector3.new(0, 0, 0))
  558. local Text = (Text or "")
  559. local Time = (Time or 2)
  560. local Color = (Color or Color3.new(1, 0, 1))
  561. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  562. EffectPart.Anchored = true
  563. local BillboardGui = Create("BillboardGui"){
  564. Size = UDim2.new(3, 0, 3, 0),
  565. Adornee = EffectPart,
  566. Parent = EffectPart,
  567. }
  568. local TextLabel = Create("TextLabel"){
  569. BackgroundTransparency = 1,
  570. Size = UDim2.new(1, 0, 1, 0),
  571. Text = Text,
  572. Font = "Bodoni",
  573. TextColor3 = Color,
  574. TextScaled = true,
  575. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  576. Parent = BillboardGui,
  577. }
  578. game.Debris:AddItem(EffectPart, (Time))
  579. EffectPart.Parent = game:GetService("Workspace")
  580. delay(0, function()
  581. local Frames = (Time / Rate)
  582. for Frame = 1, Frames do
  583. wait(Rate)
  584. local Percent = (Frame / Frames)
  585. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  586. TextLabel.TextTransparency = Percent
  587. end
  588. if EffectPart and EffectPart.Parent then
  589. EffectPart:Destroy()
  590. end
  591. end)
  592. end
  593. -------------------------------------------------------
  594. --End Damage Function Customization--
  595. -------------------------------------------------------
  596.  
  597. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  598. for _, c in pairs(workspace:children()) do
  599. local hum = c:findFirstChild("Humanoid")
  600. if hum ~= nil then
  601. local head = c:findFirstChild("Head")
  602. if head ~= nil then
  603. local targ = head.Position - Part.Position
  604. local mag = targ.magnitude
  605. if magni >= mag and c.Name ~= plr.Name then
  606. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  607. end
  608. end
  609. end
  610. end
  611. end
  612.  
  613.  
  614. CFuncs = {
  615. Part = {
  616. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  617. local Part = Create("Part")({
  618. Parent = Parent,
  619. Reflectance = Reflectance,
  620. Transparency = Transparency,
  621. CanCollide = false,
  622. Locked = true,
  623. BrickColor = BrickColor.new(tostring(BColor)),
  624. Name = Name,
  625. Size = Size,
  626. Material = Material
  627. })
  628. RemoveOutlines(Part)
  629. return Part
  630. end
  631. },
  632. Mesh = {
  633. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  634. local Msh = Create(Mesh)({
  635. Parent = Part,
  636. Offset = OffSet,
  637. Scale = Scale
  638. })
  639. if Mesh == "SpecialMesh" then
  640. Msh.MeshType = MeshType
  641. Msh.MeshId = MeshId
  642. end
  643. return Msh
  644. end
  645. },
  646. Mesh = {
  647. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  648. local Msh = Create(Mesh)({
  649. Parent = Part,
  650. Offset = OffSet,
  651. Scale = Scale
  652. })
  653. if Mesh == "SpecialMesh" then
  654. Msh.MeshType = MeshType
  655. Msh.MeshId = MeshId
  656. end
  657. return Msh
  658. end
  659. },
  660. Weld = {
  661. Create = function(Parent, Part0, Part1, C0, C1)
  662. local Weld = Create("Weld")({
  663. Parent = Parent,
  664. Part0 = Part0,
  665. Part1 = Part1,
  666. C0 = C0,
  667. C1 = C1
  668. })
  669. return Weld
  670. end
  671. },
  672. Sound = {
  673. Create = function(id, par, vol, pit)
  674. coroutine.resume(coroutine.create(function()
  675. local S = Create("Sound")({
  676. Volume = vol,
  677. Pitch = pit or 1,
  678. SoundId = id,
  679. Parent = par or workspace
  680. })
  681. wait()
  682. S:play()
  683. game:GetService("Debris"):AddItem(S, 6)
  684. end))
  685. end
  686. },
  687. ParticleEmitter = {
  688. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  689. local fp = Create("ParticleEmitter")({
  690. Parent = Parent,
  691. Color = ColorSequence.new(Color1, Color2),
  692. LightEmission = LightEmission,
  693. Size = Size,
  694. Texture = Texture,
  695. Transparency = Transparency,
  696. ZOffset = ZOffset,
  697. Acceleration = Accel,
  698. Drag = Drag,
  699. LockedToPart = LockedToPart,
  700. VelocityInheritance = VelocityInheritance,
  701. EmissionDirection = EmissionDirection,
  702. Enabled = Enabled,
  703. Lifetime = LifeTime,
  704. Rate = Rate,
  705. Rotation = Rotation,
  706. RotSpeed = RotSpeed,
  707. Speed = Speed,
  708. VelocitySpread = VelocitySpread
  709. })
  710. return fp
  711. end
  712. }
  713. }
  714. function RemoveOutlines(part)
  715. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  716. end
  717. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  718. local Part = Create("Part")({
  719. formFactor = FormFactor,
  720. Parent = Parent,
  721. Reflectance = Reflectance,
  722. Transparency = Transparency,
  723. CanCollide = false,
  724. Locked = true,
  725. BrickColor = BrickColor.new(tostring(BColor)),
  726. Name = Name,
  727. Size = Size,
  728. Material = Material
  729. })
  730. RemoveOutlines(Part)
  731. return Part
  732. end
  733. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  734. local Msh = Create(Mesh)({
  735. Parent = Part,
  736. Offset = OffSet,
  737. Scale = Scale
  738. })
  739. if Mesh == "SpecialMesh" then
  740. Msh.MeshType = MeshType
  741. Msh.MeshId = MeshId
  742. end
  743. return Msh
  744. end
  745. function CreateWeld(Parent, Part0, Part1, C0, C1)
  746. local Weld = Create("Weld")({
  747. Parent = Parent,
  748. Part0 = Part0,
  749. Part1 = Part1,
  750. C0 = C0,
  751. C1 = C1
  752. })
  753. return Weld
  754. end
  755.  
  756.  
  757. -------------------------------------------------------
  758. --Start Effect Function--
  759. -------------------------------------------------------
  760. EffectModel = Instance.new("Model", char)
  761. Effects = {
  762. Block = {
  763. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  764. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  765. prt.Anchored = true
  766. prt.CFrame = cframe
  767. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  768. game:GetService("Debris"):AddItem(prt, 10)
  769. if Type == 1 or Type == nil then
  770. table.insert(Effects, {
  771. prt,
  772. "Block1",
  773. delay,
  774. x3,
  775. y3,
  776. z3,
  777. msh
  778. })
  779. elseif Type == 2 then
  780. table.insert(Effects, {
  781. prt,
  782. "Block2",
  783. delay,
  784. x3,
  785. y3,
  786. z3,
  787. msh
  788. })
  789. else
  790. table.insert(Effects, {
  791. prt,
  792. "Block3",
  793. delay,
  794. x3,
  795. y3,
  796. z3,
  797. msh
  798. })
  799. end
  800. end
  801. },
  802. Sphere = {
  803. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  805. prt.Anchored = true
  806. prt.CFrame = cframe
  807. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Cylinder",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. end
  819. },
  820. Cylinder = {
  821. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  822. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  823. prt.Anchored = true
  824. prt.CFrame = cframe
  825. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  826. game:GetService("Debris"):AddItem(prt, 10)
  827. table.insert(Effects, {
  828. prt,
  829. "Cylinder",
  830. delay,
  831. x3,
  832. y3,
  833. z3,
  834. msh
  835. })
  836. end
  837. },
  838. Wave = {
  839. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  840. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  841. prt.Anchored = true
  842. prt.CFrame = cframe
  843. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. table.insert(Effects, {
  846. prt,
  847. "Cylinder",
  848. delay,
  849. x3 / 60,
  850. y3 / 60,
  851. z3 / 60,
  852. msh
  853. })
  854. end
  855. },
  856. Ring = {
  857. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  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("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  862. game:GetService("Debris"):AddItem(prt, 10)
  863. table.insert(Effects, {
  864. prt,
  865. "Cylinder",
  866. delay,
  867. x3,
  868. y3,
  869. z3,
  870. msh
  871. })
  872. end
  873. },
  874. Break = {
  875. Create = function(brickcolor, cframe, x1, y1, z1)
  876. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  877. prt.Anchored = true
  878. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  879. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  880. local num = math.random(10, 50) / 1000
  881. game:GetService("Debris"):AddItem(prt, 10)
  882. table.insert(Effects, {
  883. prt,
  884. "Shatter",
  885. num,
  886. prt.CFrame,
  887. math.random() - math.random(),
  888. 0,
  889. math.random(50, 100) / 100
  890. })
  891. end
  892. },
  893. Spiral = {
  894. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  895. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  896. prt.Anchored = true
  897. prt.CFrame = cframe
  898. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  899. game:GetService("Debris"):AddItem(prt, 10)
  900. table.insert(Effects, {
  901. prt,
  902. "Cylinder",
  903. delay,
  904. x3,
  905. y3,
  906. z3,
  907. msh
  908. })
  909. end
  910. },
  911. Push = {
  912. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  913. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  914. prt.Anchored = true
  915. prt.CFrame = cframe
  916. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  917. game:GetService("Debris"):AddItem(prt, 10)
  918. table.insert(Effects, {
  919. prt,
  920. "Cylinder",
  921. delay,
  922. x3,
  923. y3,
  924. z3,
  925. msh
  926. })
  927. end
  928. }
  929. }
  930. -------------------------------------------------------
  931. --End Effect Function--
  932. -------------------------------------------------------
  933.  
  934. function CreateSound(ID, PARENT, VOLUME, PITCH)
  935. local NSound = nil
  936. coroutine.resume(coroutine.create(function()
  937. NSound = Instance.new("Sound", PARENT)
  938. NSound.Volume = VOLUME
  939. NSound.Pitch = PITCH
  940. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  941. swait()
  942. NSound:play()
  943. game:GetService("Debris"):AddItem(NSound, 10)
  944. end))
  945. return NSound
  946. end
  947.  
  948. --Very lazi from here to below except the animations but who cares /shrug
  949. function chatfunc(text)
  950. local chat = coroutine.wrap(function()
  951. if char:FindFirstChild("TalkingBillBoard")~= nil then
  952. char:FindFirstChild("TalkingBillBoard"):destroy()
  953. end
  954. local naeeym2 = Instance.new("BillboardGui",char)
  955. naeeym2.Size = UDim2.new(0,100,0,40)
  956. naeeym2.StudsOffset = Vector3.new(0,3,0)
  957. naeeym2.Adornee = char.Head
  958. naeeym2.Name = "TalkingBillBoard"
  959. local tecks2 = Instance.new("TextLabel",naeeym2)
  960. tecks2.BackgroundTransparency = 1
  961. tecks2.BorderSizePixel = 0
  962. tecks2.Text = ""
  963. tecks2.Font = "Bodoni"
  964. tecks2.TextSize = 30
  965. tecks2.TextStrokeTransparency = 0
  966. tecks2.TextColor3 = Color3.new(255,0,0)
  967. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  968. tecks2.Size = UDim2.new(1,0,0.5,0)
  969. local tecks3 = Instance.new("TextLabel",naeeym2)
  970. tecks3.BackgroundTransparency = 1
  971. tecks3.BorderSizePixel = 0
  972. tecks3.Text = ""
  973. tecks3.Font = "Bodoni"
  974. tecks3.TextSize = 30
  975. tecks3.TextStrokeTransparency = 0
  976. tecks3.TextColor3 = Color3.new(255,0,0)
  977. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  978. tecks3.Size = UDim2.new(1,0,0.5,0)
  979. coroutine.resume(coroutine.create(function()
  980. while tecks3 ~= nil do
  981. swait()
  982. tecks3.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  983. tecks3.Rotation = math.random(-3,3)
  984. tecks3.TextColor3 = Color3.new(math.random(0, 255)/255,0,0)
  985. tecks3.TextStrokeColor3 = Color3.new(math.random(0, 255)/255,0,0)
  986. end
  987. end))
  988. for i = 1,string.len(text),1 do
  989. tecks2.Text = string.sub(text,1,i)
  990. tecks3.Text = string.sub(text,1,i)
  991. wait(0.01)
  992. end
  993. wait(2)
  994. for i = 1, 50 do
  995. swait()
  996. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  997. tecks2.Rotation = tecks2.Rotation - .8
  998. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  999. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1000. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1001. tecks3.Rotation = tecks2.Rotation + .8
  1002. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1003. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1004. end
  1005. naeeym2:Destroy()
  1006. end)
  1007. chat()
  1008. end
  1009. function onChatted(msg)
  1010. chatfunc(msg)
  1011. end
  1012. --plr.Chatted:connect(onChatted)
  1013.  
  1014. abss = Instance.new("BillboardGui",char)
  1015. abss.Size = UDim2.new(10,0,10,0)
  1016. abss.Enabled = false
  1017. imgl = Instance.new("ImageLabel",abss)
  1018. imgl.Position = UDim2.new(0,0,0,0)
  1019. imgl.Size = UDim2.new(1,0,1,0)
  1020. imgl.Image = "rbxassetid://153485522"
  1021. imgl.BackgroundTransparency = 1
  1022. imgl.ImageColor3 = Color3.new(.9,0,0)
  1023. img2 = Instance.new("ImageLabel",abss)
  1024. img2.Position = UDim2.new(0,0,0,0)
  1025. img2.Size = UDim2.new(1,0,1,0)
  1026. img2.Image = "rbxassetid://153485522"
  1027. img2.BackgroundTransparency = 1
  1028. img2.ImageColor3 = Color3.new(.9,0,0)
  1029.  
  1030. function TargetSelect(person)
  1031. local dd=coroutine.wrap(function()
  1032. if targetted ~= person then
  1033. targetted = person
  1034. img2.Size = UDim2.new(1,0,1,0)
  1035. img2.ImageTransparency = 0
  1036. img2.Position = UDim2.new(0,0,0,0)
  1037. for i = 0, 2, 0.1 do
  1038. swait()
  1039. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1040. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1041. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1042. end
  1043. end
  1044. end)
  1045. dd()
  1046. end
  1047.  
  1048. function dmg(dude)
  1049. if dude.Name ~= char then
  1050. dude:FindFirstChildOfClass("Humanoid").PlatformStand = true
  1051. local bgf = Instance.new("BodyGyro",dude.Head)
  1052. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1053. local val = Instance.new("BoolValue",dude)
  1054. val.Name = "IsHit"
  1055. local torsy = dude:FindFirstChild("UpperTorso") or dude:FindFirstChild("Torso")
  1056. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1057. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1058. partasdeff.LightEmission = .1
  1059. partasdeff.Size = NumberSequence.new(0.2)
  1060. partasdeff.Texture = "rbxassetid://771221224"
  1061. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1062. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1063. partasdeff.Transparency = bbb
  1064. partasdeff.Size = aaa
  1065. partasdeff.ZOffset = .9
  1066. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1067. partasdeff.LockedToPart = false
  1068. partasdeff.EmissionDirection = "Back"
  1069. partasdeff.Lifetime = NumberRange.new(1, 2)
  1070. partasdeff.Rate = 1000
  1071. partasdeff.Rotation = NumberRange.new(-100, 100)
  1072. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1073. partasdeff.Speed = NumberRange.new(6)
  1074. partasdeff.VelocitySpread = 10000
  1075. partasdeff.Enabled=false
  1076. partasdeff:Emit(30)
  1077. coroutine.wrap(function()
  1078. targetted = nil
  1079. swait(30)
  1080. dude:BreakJoints()
  1081. swait(5)
  1082. dude:FindFirstChildOfClass("Humanoid"):Destroy()
  1083. for i=0,1,.05 do
  1084. for a,v in pairs(dude:GetChildren()) do
  1085. if v:IsA("BasePart") then
  1086. v.Transparency = i
  1087. end
  1088. end
  1089. swait()
  1090. end
  1091. for a,v in pairs(dude:GetChildren()) do
  1092. if v:IsA("BasePart") and v:FindFirstChild("ParticleEmitter") then
  1093. v.ParticleEmitter.Enabled = false
  1094. end
  1095. game:service'Debris':AddItem(v,2)
  1096. end
  1097. end)()
  1098. end
  1099. end
  1100.  
  1101. --lazi
  1102. function kdown(dd)
  1103. if dd.Name ~= char then
  1104. dd.Humanoid.PlatformStand = true
  1105. local bgf = Instance.new("BodyGyro",dd.Head)
  1106. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1107. local val = Instance.new("BoolValue",dd)
  1108. val.Name = "IsHit"
  1109. end
  1110. end
  1111.  
  1112. function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1113. --local buddy
  1114. for _, c in pairs(workspace:children()) do
  1115. local hum = c:findFirstChild("Humanoid")
  1116. if hum ~= nil then
  1117. local head = c:findFirstChild("Torso")
  1118. if head ~= nil then
  1119. local targ = head.Position - Part.Position
  1120. local mag = targ.magnitude
  1121. if mag <= Magnitude and c.Name ~= plr.Name then
  1122. if c.Name ~= char then
  1123. if c.Name ~= "makhail07" and c.Name ~= "Nebula_Zorua" and c.Name ~= "KillerDarkness0105" and c.Name ~= "Salvo_Starly" then
  1124. local asd = Instance.new("ParticleEmitter",c.Torso)
  1125. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1126. asd.LightEmission = .1
  1127. asd.Size = NumberSequence.new(0.2)
  1128. asd.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1129. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1130. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1131. asd.Transparency = bbb
  1132. asd.Size = aaa
  1133. asd.ZOffset = .9
  1134. asd.Acceleration = Vector3.new(0, -5, 0)
  1135. asd.LockedToPart = false
  1136. asd.EmissionDirection = "Back"
  1137. asd.Lifetime = NumberRange.new(1, 2)
  1138. asd.Rate = 1000
  1139. asd.Rotation = NumberRange.new(-100, 100)
  1140. asd.RotSpeed = NumberRange.new(-100, 100)
  1141. asd.Speed = NumberRange.new(6)
  1142. asd.VelocitySpread = 10000
  1143. asd.Enabled=true
  1144. --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  1145. dmg(c)
  1146. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8)
  1147. coroutine.wrap(function()
  1148. wait(.2)
  1149. asd.Enabled = false
  1150. wait(2)
  1151. asd:Remove()
  1152. end)()
  1153. else
  1154. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3))
  1155. Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04)
  1156.  
  1157. end
  1158. end
  1159. end
  1160. end
  1161. end
  1162. end
  1163. end
  1164.  
  1165. -------------------------------------------------------
  1166. --End Important Functions--
  1167. -------------------------------------------------------
  1168.  
  1169. --[[
  1170. Thanks for using Build-To-Lua by jarredbcv.
  1171. ]]--
  1172.  
  1173. New = function(Object, Parent, Name, Data)
  1174. local Object = Instance.new(Object)
  1175. for Index, Value in pairs(Data or {}) do
  1176. Object[Index] = Value
  1177. end
  1178. Object.Parent = Parent
  1179. Object.Name = Name
  1180. return Object
  1181. end
  1182.  
  1183. Doll = New("Model",char,"Doll",{})
  1184. 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),})
  1185. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  1186. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1187. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1188. --Decal = New("Decal",Handle,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1189. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1190. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1191. --Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1192. 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),})
  1193. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1194. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1195. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1196. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1197. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1198. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1199. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1200. 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),})
  1201. 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),})
  1202. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1203. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1204. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1205. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1206. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1207. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1208. 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),})
  1209. 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),})
  1210. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1211. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1212. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1213. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1214. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1215. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1216. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1217. 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),})
  1218. 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),})
  1219. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1220. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1221. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1222. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1223. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1224. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1225. 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),})
  1226. 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),})
  1227. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1228. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1229. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1230. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1231. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1232. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1233. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1234. 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),})
  1235. 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),})
  1236. Mesh = New("CylinderMesh",Part,"Mesh",{})
  1237. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1238. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1239. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1240. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1241. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1242. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1243. 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),})
  1244. 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),})
  1245. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1246. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1247. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1248. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1249. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1250. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1251. 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),})
  1252. 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),})
  1253. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1254. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1255. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1256. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1257. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1258. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1259. 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),})
  1260. 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),})
  1261. --Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=512493661",})
  1262. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1263. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1264. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1265. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1266. --Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Bottom,Texture = "http://www.roblox.com/asset/?id=512493661",})
  1267. 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),})
  1268. 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,})
  1269. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.267258376, 0.267258346, 0.267258376),MeshId = "rbxassetid://511959728",TextureId = "rbxassetid://511959832",MeshType = Enum.MeshType.FileMesh,})
  1270. 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),})
  1271. 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,})
  1272. 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,})
  1273. 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),})
  1274. 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,})
  1275. 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,})
  1276. 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),})
  1277. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),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),})
  1278. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1279. 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),})
  1280. Part = New("Part",Doll,"Part",{BrickColor = BrickColor.new("Bright red"),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),})
  1281. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.334072977, 0.334072918, 0.334072977),MeshType = Enum.MeshType.Sphere,})
  1282. 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),})
  1283.  
  1284. --lazi xd
  1285. Needle = New("Model",char,"Needle",{})
  1286. 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,})
  1287. 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,})
  1288.  
  1289.  
  1290. for _, v in pairs(Doll:GetChildren()) do
  1291. if v:IsA'BasePart' then
  1292. v.CanCollide = false
  1293. end
  1294. end
  1295.  
  1296. for _, v in pairs(Needle:GetChildren()) do
  1297. if v:IsA'BasePart' then
  1298. v.CanCollide = false
  1299. end
  1300. end
  1301.  
  1302.  
  1303. local NewInstance = function(instance,parent,properties)
  1304. local inst = Instance.new(instance,parent)
  1305. if(properties)then
  1306. for i,v in next, properties do
  1307. pcall(function() inst[i] = v end)
  1308. end
  1309. end
  1310. return inst;
  1311. end
  1312. 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))})
  1313.  
  1314. 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))})
  1315.  
  1316.  
  1317.  
  1318. -------------------------------------------------------
  1319. --Start Music Option--
  1320. -------------------------------------------------------
  1321. local Music = Instance.new("Sound",tors)
  1322. Music.Volume = 2.5
  1323. Music.SoundId = "rbxassetid://803936798" --536675558 1470848774
  1324. Music.Looped = true
  1325. Music.Pitch = .9 --Pitcher
  1326. Music:Play()
  1327. -------------------------------------------------------
  1328. --End Music Option--
  1329. -------------------------------------------------------
  1330.  
  1331.  
  1332. -------------------------------------------------------
  1333. --Start Attacks N Stuff--
  1334. -------------------------------------------------------
  1335. local sine=0
  1336. function LockOn()
  1337. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1338. TargetSelect(mouse.Target.Parent)
  1339. CreateSound("743521450", char, 1, .8)
  1340. end
  1341. end
  1342.  
  1343.  
  1344.  
  1345. function Stab_Them_For_FUN()
  1346. attack = true
  1347. hum.WalkSpeed = 0
  1348. if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1349. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1350. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1351. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1352. partasdeff.LightEmission = .1
  1353. partasdeff.Size = NumberSequence.new(0.2)
  1354. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1355. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1356. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1357. partasdeff.Transparency = bbb
  1358. partasdeff.Size = aaa
  1359. partasdeff.ZOffset = .9
  1360. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1361. partasdeff.LockedToPart = false
  1362. partasdeff.EmissionDirection = "Back"
  1363. partasdeff.Lifetime = NumberRange.new(1, 2)
  1364. partasdeff.Rate = 1000
  1365. partasdeff.Rotation = NumberRange.new(-100, 100)
  1366. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1367. partasdeff.Speed = NumberRange.new(6)
  1368. partasdeff.VelocitySpread = 10000
  1369. partasdeff.Enabled=false
  1370. for i = 0, 1.4, 0.1 do
  1371. swait()
  1372. 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)
  1373. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1374. if Mrandom(1,15) == 1 then
  1375. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1376. end
  1377. 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)
  1378. 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)
  1379. 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)
  1380. 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)
  1381. end
  1382. dmg(targetted)
  1383. partasdeff.Enabled=true
  1384. CreateSound("429400881", torsy, 10, .8)
  1385. for i = 0, 1.4, 0.1 do
  1386. swait()
  1387. 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)
  1388. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1389. if Mrandom(1,15) == 1 then
  1390. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1391. end
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. end
  1397. partasdeff.Enabled=false
  1398. for i = 0, 1.4, 0.1 do
  1399. swait()
  1400. 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)
  1401. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-15), Rad(0), Rad(-25)), 0.3)
  1402. if Mrandom(1,15) == 1 then
  1403. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1404. end
  1405. 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)
  1406. 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)
  1407. 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)
  1408. 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)
  1409. end
  1410. attack = false
  1411. hum.WalkSpeed = 8
  1412. elseif targetted.Name == "makhail07" then
  1413. for i = 0, 2.4, 0.1 do
  1414. swait()
  1415. 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)
  1416. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1417. if Mrandom(1,15) == 1 then
  1418. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1419. end
  1420. 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)
  1421. 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)
  1422. 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)
  1423. 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)
  1424. end
  1425. for i = 0, 2.4, 0.1 do
  1426. swait()
  1427. 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)
  1428. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1429. if Mrandom(1,15) == 1 then
  1430. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1431. end
  1432. 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)
  1433. 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)
  1434. 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)
  1435. 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)
  1436. end
  1437. coroutine.wrap(function()
  1438. wait(2)
  1439. --partasdeff:Remove()
  1440. end)()
  1441. local sel = Mrandom(1,3)
  1442. if sel == 1 then
  1443. chatfunc("Hmhmhm, Why try?")
  1444. elseif sel == 2 then
  1445. chatfunc("Stop it that's my creator.")
  1446. elseif sel == 3 then
  1447. chatfunc("I can't do that...")
  1448. end
  1449. wait(2)
  1450. hum.WalkSpeed = 8
  1451. attack = false
  1452. elseif targetted.Name == "Salvo_Starly" then
  1453. for i = 0, 2.4, 0.1 do
  1454. swait()
  1455. 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)
  1456. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1457. if Mrandom(1,15) == 1 then
  1458. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1459. end
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. end
  1465. for i = 0, 2.4, 0.1 do
  1466. swait()
  1467. 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)
  1468. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1469. if Mrandom(1,15) == 1 then
  1470. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1471. end
  1472. 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)
  1473. 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)
  1474. 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)
  1475. 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)
  1476. end
  1477. coroutine.wrap(function()
  1478. wait(2)
  1479. --partasdeff:Remove()
  1480. end)()
  1481. local sel = Mrandom(1,3)
  1482. if sel == 1 then
  1483. chatfunc("Sorry about that.")
  1484. elseif sel == 2 then
  1485. chatfunc("H-Hello. I almost killed you.")
  1486. elseif sel == 3 then
  1487. chatfunc("OwO?")
  1488. end
  1489. wait(2)
  1490. hum.WalkSpeed = 8
  1491. attack = false
  1492. elseif targetted.Name == "Nebula_Zorua" then
  1493. for i = 0, 2.4, 0.1 do
  1494. swait()
  1495. 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)
  1496. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1497. if Mrandom(1,15) == 1 then
  1498. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1499. end
  1500. 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)
  1501. 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)
  1502. 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)
  1503. 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)
  1504. end
  1505. for i = 0, 2.4, 0.1 do
  1506. swait()
  1507. 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)
  1508. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1509. if Mrandom(1,15) == 1 then
  1510. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1511. end
  1512. 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)
  1513. 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)
  1514. 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)
  1515. 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)
  1516. end
  1517. coroutine.wrap(function()
  1518. wait(2)
  1519. --partasdeff:Remove()
  1520. end)()
  1521. local sel = Mrandom(1,3)
  1522. if sel == 1 then
  1523. chatfunc("Sorry, Nebula.")
  1524. elseif sel == 2 then
  1525. chatfunc("Theres no need to harm you. Yet...")
  1526. elseif sel == 3 then
  1527. chatfunc("My mistake.")
  1528. end
  1529. wait(2)
  1530. hum.WalkSpeed = 8
  1531. attack = false
  1532. elseif targetted.Name == "KillerDarkness0105" then
  1533. for i = 0, 2.4, 0.1 do
  1534. swait()
  1535. 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)
  1536. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  1537. if Mrandom(1,15) == 1 then
  1538. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1539. end
  1540. 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)
  1541. 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)
  1542. 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)
  1543. 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)
  1544. end
  1545. for i = 0, 2.4, 0.1 do
  1546. swait()
  1547. 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)
  1548. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25 * Cos(sine / 20))), 0.3)
  1549. if Mrandom(1,15) == 1 then
  1550. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1551. end
  1552. 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)
  1553. 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)
  1554. 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)
  1555. 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)
  1556. end
  1557. coroutine.wrap(function()
  1558. wait(2)
  1559. --partasdeff:Remove()
  1560. end)()
  1561. local sel = Mrandom(1,3)
  1562. if sel == 1 then
  1563. chatfunc("Hm, Killer it's been a while.")
  1564. elseif sel == 2 then
  1565. chatfunc("No need for this.")
  1566. elseif sel == 3 then
  1567. chatfunc("Hello, sorry.")
  1568. end
  1569. wait(2)
  1570. hum.WalkSpeed = 8
  1571. attack = false
  1572. end
  1573. end
  1574.  
  1575. function Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1576. attack = true
  1577. hum.WalkSpeed = 0
  1578. if targetted.Name ~= "makhail07" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "Nebula_Zorua" and targetted.Name ~= "KillerDarkness0105" then
  1579. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1580. local partasdeff = Instance.new("ParticleEmitter",torsy)
  1581. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1582. partasdeff.LightEmission = .1
  1583. partasdeff.Size = NumberSequence.new(0.2)
  1584. partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224"
  1585. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1586. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1587. partasdeff.Transparency = bbb
  1588. partasdeff.Size = aaa
  1589. partasdeff.ZOffset = .9
  1590. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1591. partasdeff.LockedToPart = false
  1592. partasdeff.EmissionDirection = "Back"
  1593. partasdeff.Lifetime = NumberRange.new(1, 2)
  1594. partasdeff.Rate = 1000
  1595. partasdeff.Rotation = NumberRange.new(-100, 100)
  1596. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1597. partasdeff.Speed = NumberRange.new(6)
  1598. partasdeff.VelocitySpread = 10000
  1599. partasdeff.Enabled=false
  1600. for i = 0, 1.2, 0.1 do
  1601. swait()
  1602. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1603. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1604. if Mrandom(1,15) == 1 then
  1605. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1606. end
  1607. 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(-0)), 0.15)
  1608. 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)
  1609. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1610. 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(-5)), 0.1)
  1611. end
  1612. HW.Part0 = root
  1613. for i = 0, 1.8, 0.1 do
  1614. swait()
  1615. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1616. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1617. if Mrandom(1,15) == 1 then
  1618. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1619. end
  1620. 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(-0)), 0.15)
  1621. 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)
  1622. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(5)), 0.1)
  1623. 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(-5)), 0.1)
  1624. HW.C0 = clerp(HW.C0, CF(1,-2.9,-.7) * angles(Rad(-90), Rad(0), Rad(0)), 0.1)
  1625. end
  1626. kdown(targetted)
  1627. for i = 0, 1.6, 0.1 do
  1628. swait()
  1629. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1630. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1631. if Mrandom(1,15) == 1 then
  1632. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1633. end
  1634. RH.C0 = clerp(RH.C0, CF(1, -0.4 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.15)
  1635. 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)
  1636. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1637. 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(-5)), 0.1)
  1638. end
  1639. for i = 1,7 do
  1640. partasdeff.Enabled = false
  1641. for i = 0, 1.6, 0.1 do
  1642. swait()
  1643. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1644. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1645. if Mrandom(1,15) == 1 then
  1646. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1647. end
  1648. RH.C0 = clerp(RH.C0, CF(1, -0.1 - 0.1 * Cos(sine / 20), -.8 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-10)), 0.15)
  1649. 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)
  1650. RW.C0 = clerp(RW.C0, CF(1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
  1651. LW.C0 = clerp(LW.C0, CF(-1.5, 0.3 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  1652. end
  1653. CreateSound("429400881", torsy, 10, 1)
  1654. partasdeff.Enabled = true
  1655. for i = 0, 1.6, 0.1 do
  1656. swait()
  1657. 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)
  1658. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(25), Rad(0), Rad(0)), 0.3)
  1659. if Mrandom(1,15) == 1 then
  1660. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1661. end
  1662. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(10)), 0.15)
  1663. 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)
  1664. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(15)), 0.1)
  1665. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
  1666. end
  1667. end
  1668. partasdeff.Enabled = false
  1669. dmg(targetted)
  1670. attack = false
  1671. HW.Part0 = ra
  1672. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  1673. hum.WalkSpeed = 8
  1674. elseif targetted.Name == "makhail07" then
  1675. for i = 0, 3.2, 0.1 do
  1676. swait()
  1677. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1678. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1679. if Mrandom(1,15) == 1 then
  1680. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1681. end
  1682. 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(-0)), 0.15)
  1683. 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)
  1684. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1685. 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(-5)), 0.1)
  1686. end
  1687. for i = 0, 1.8, 0.1 do
  1688. swait()
  1689. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1690. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1691. if Mrandom(1,15) == 1 then
  1692. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1693. end
  1694. 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(-0)), 0.15)
  1695. 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)
  1696. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1697. 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(-5)), 0.1)
  1698. end
  1699. coroutine.wrap(function()
  1700. wait(2)
  1701. --partasdeff:Remove()
  1702. end)()
  1703. local sel = Mrandom(1,3)
  1704. if sel == 1 then
  1705. chatfunc("Hah you tried.")
  1706. elseif sel == 2 then
  1707. chatfunc("No,no that's wrong.")
  1708. elseif sel == 3 then
  1709. chatfunc("Oops, I almost smashed myself to pieces.")
  1710. end
  1711. wait(2)
  1712. hum.WalkSpeed = 8
  1713. attack = false
  1714. elseif targetted.Name == "Salvo_Starly" then
  1715. for i = 0, 3.2, 0.1 do
  1716. swait()
  1717. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1718. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1719. if Mrandom(1,15) == 1 then
  1720. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1721. end
  1722. 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(-0)), 0.15)
  1723. 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)
  1724. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1725. 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(-5)), 0.1)
  1726. end
  1727. for i = 0, 1.8, 0.1 do
  1728. swait()
  1729. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1730. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1731. if Mrandom(1,15) == 1 then
  1732. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1733. end
  1734. 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(-0)), 0.15)
  1735. 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)
  1736. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1737. 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(-5)), 0.1)
  1738. end
  1739. coroutine.wrap(function()
  1740. wait(2)
  1741. --partasdeff:Remove()
  1742. end)()
  1743. local sel = Mrandom(1,3)
  1744. if sel == 1 then
  1745. chatfunc("Ooooopsy.")
  1746. elseif sel == 2 then
  1747. chatfunc("OOF I almost smashed you.")
  1748. elseif sel == 3 then
  1749. chatfunc("Give me, wait...Salvo?")
  1750. end
  1751. wait(2)
  1752. hum.WalkSpeed = 8
  1753. attack = false
  1754. elseif targetted.Name == "Nebula_Zorua" then
  1755. for i = 0, 3.2, 0.1 do
  1756. swait()
  1757. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1758. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1759. if Mrandom(1,15) == 1 then
  1760. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1761. end
  1762. 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(-0)), 0.15)
  1763. 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)
  1764. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1765. 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(-5)), 0.1)
  1766. end
  1767. for i = 0, 1.8, 0.1 do
  1768. swait()
  1769. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1770. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1771. if Mrandom(1,15) == 1 then
  1772. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1773. end
  1774. 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(-0)), 0.15)
  1775. 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)
  1776. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1777. 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(-5)), 0.1)
  1778. end
  1779. coroutine.wrap(function()
  1780. wait(2)
  1781. --partasdeff:Remove()
  1782. end)()
  1783. local sel = Mrandom(1,3)
  1784. if sel == 1 then
  1785. chatfunc("Lucky I know you...")
  1786. elseif sel == 2 then
  1787. chatfunc("Nebu?")
  1788. elseif sel == 3 then
  1789. chatfunc("VSB = Bad, GSB = Good")
  1790. end
  1791. wait(2)
  1792. hum.WalkSpeed = 8
  1793. attack = false
  1794. elseif targetted.Name == "KillerDarkness0105" then
  1795. for i = 0, 3.2, 0.1 do
  1796. swait()
  1797. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1798. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-5), Rad(0), Rad(0)), 0.3)
  1799. if Mrandom(1,15) == 1 then
  1800. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1801. end
  1802. 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(-0)), 0.15)
  1803. 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)
  1804. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(5)), 0.1)
  1805. 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(-5)), 0.1)
  1806. end
  1807. for i = 0, 1.8, 0.1 do
  1808. swait()
  1809. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1810. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(0)), 0.3)
  1811. if Mrandom(1,15) == 1 then
  1812. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1813. end
  1814. 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(-0)), 0.15)
  1815. 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)
  1816. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1817. 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(-5)), 0.1)
  1818. end
  1819. coroutine.wrap(function()
  1820. wait(2)
  1821. --partasdeff:Remove()
  1822. end)()
  1823. local sel = Mrandom(1,3)
  1824. if sel == 1 then
  1825. chatfunc("AaaaAA Killer, what are you doing?")
  1826. elseif sel == 2 then
  1827. chatfunc("Are you finished with those touhou scripts?")
  1828. elseif sel == 3 then
  1829. chatfunc("Oh hi, sorry for that.")
  1830. end
  1831. wait(2)
  1832. hum.WalkSpeed = 8
  1833. attack = false
  1834. end
  1835. end
  1836.  
  1837. function Get_Over_Here_And_PERISH()
  1838. attack = true
  1839. hum.WalkSpeed = 0
  1840. local torsy = targetted:FindFirstChild("UpperTorso") or targetted:FindFirstChild("Torso")
  1841. for i = 0, 2, 0.1 do
  1842. swait()
  1843. 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)
  1844. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1845. if Mrandom(1,15) == 1 then
  1846. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1847. end
  1848. 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)
  1849. 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)
  1850. 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)
  1851. 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)
  1852. end
  1853. coroutine.resume(coroutine.create(function()
  1854. for i = 1,10 do
  1855. swait()
  1856. local Pully = Create("BodyPosition")({
  1857. P = 9000,
  1858. D = 1000,
  1859. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1860. position = ra.Position - ra.CFrame.lookVector * 6,
  1861. Parent = torsy
  1862. })
  1863. game:GetService("Debris"):AddItem(Pully, 0.2)
  1864. wait()
  1865. end
  1866. end))
  1867. CreateSound("541909814", torsy, 10, 1)
  1868. CreateSound("131228548", hed, 10, 1)
  1869. for i = 0, 2.2, 0.1 do
  1870. swait()
  1871. 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)
  1872. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(35)), 0.3)
  1873. if Mrandom(1,15) == 1 then
  1874. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  1875. end
  1876. 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)
  1877. 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)
  1878. 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)
  1879. 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)
  1880. end
  1881. attack = false
  1882. hum.WalkSpeed = 8
  1883. end
  1884.  
  1885. function The_End_offfff()
  1886. attack = true
  1887. hum.WalkSpeed = 0
  1888. Music:Stop()
  1889. for _, v in pairs(Doll:GetChildren()) do
  1890. if v:IsA'BasePart' then
  1891. v:Remove()
  1892. end
  1893. end
  1894. for _, v in pairs(Needle:GetChildren()) do
  1895. if v:IsA'BasePart' then
  1896. v:Remove()
  1897. end
  1898. end
  1899. for i = 0,6,0.1 do
  1900. swait()
  1901. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1902. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1903. 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)
  1904. 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)
  1905. 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)
  1906. 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)
  1907. end
  1908. CreateSound("1093102664", hed, 10, 1)
  1909. for i = 0,4,0.1 do
  1910. swait()
  1911. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1912. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(-90)), 0.4)
  1913. 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)
  1914. 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)
  1915. 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)
  1916. 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)
  1917. end
  1918. for i = 0,6,0.1 do
  1919. swait()
  1920. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -3 + 0.1) * angles(Rad(90), Rad(0), Rad(0)), 0.15)
  1921. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-90)), 0.4)
  1922. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-14), Rad(0), Rad(0)), 0.15)
  1923. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6), Rad(0), Rad(0)), 0.15)
  1924. 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(155)), 0.1)
  1925. LW.C0 = clerp(LW.C0, CF(-1.3, 0.8 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-167)), 0.4)
  1926. end
  1927. wait(2)
  1928. dmg(char)
  1929. end
  1930.  
  1931. -------------------------------------------------------
  1932. --End Attacks N Stuff--
  1933. -------------------------------------------------------
  1934. mouse.Button1Down:connect(function()
  1935. if attack == false and targetted ~= nil then
  1936. Stab_Them_For_FUN()
  1937. end
  1938. end)
  1939.  
  1940.  
  1941. mouse.KeyDown:connect(function(key)
  1942. if attack == false then
  1943. if key == 'q' then
  1944. LockOn()
  1945. elseif key == 'f' then
  1946. chatfunc("Come on now child everythings okay...")
  1947. elseif key == 'e' and targetted ~= nil then
  1948. Oh_No_AN_ERROR_Has_OcccccccurrEEEED()
  1949. elseif key == 'x' and targetted ~= nil then
  1950. Get_Over_Here_And_PERISH()
  1951. elseif key == 'r' and targetted ~= nil then
  1952. CreateSound("289556450", hed, .4, math.random(5, 15) / 5)
  1953. root.CFrame = targetted.Head.CFrame * CFrame.new(0, 0, 6)
  1954. elseif key == 'p' then
  1955. The_End_offfff()
  1956. end
  1957. end
  1958. end)
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965. -------------------------------------------------------
  1966. --Start Animations--
  1967. -------------------------------------------------------
  1968. local equipped = false
  1969. hum.WalkSpeed = 8
  1970. hed.face.Texture = "rbxassetid://1471407701"
  1971. local idle = 0
  1972. local change = 1
  1973. local val = 0
  1974. local toim = 0
  1975. local idleanim = 0.4
  1976. hum.Animator.Parent = nil
  1977. while true do
  1978. swait()
  1979. game.Lighting.TimeOfDay = "00:00:00"
  1980. --game.Lighting.FogEnd = 50
  1981. --game.Lighting.FogColor = Color3.fromRGB(0,0,0)
  1982. Music.Parent = tors
  1983.  
  1984. imgl.Rotation = imgl.Rotation + 3
  1985. img2.Rotation = img2.Rotation + 3
  1986. if targetted ~= nil then
  1987. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1988. abss.Enabled = true
  1989. elseif targetted == nil then
  1990. abss.Adornee = nil
  1991. abss.Enabled = false
  1992. end
  1993.  
  1994. while true and imgl.Rotation >= 360 do
  1995. imgl.Rotation = 0
  1996. img2.Rotation = 0
  1997. end
  1998.  
  1999. sine = sine + change
  2000. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2001. local velderp = root.Velocity.y
  2002. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  2003. if equipped == true or equipped == false then
  2004. if attack == false then
  2005. idle = idle + 1
  2006. else
  2007. idle = 0
  2008. end
  2009. if 1 < root.Velocity.y and hitfloor == nil then
  2010. Anim = "Jump"
  2011. if attack == false then
  2012. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2013. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2014. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  2015. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  2016. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2017. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2018. end
  2019. elseif -1 > root.Velocity.y and hitfloor == nil then
  2020. Anim = "Fall"
  2021. if attack == false then
  2022. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  2023. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2024. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  2025. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  2026. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2027. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2028. end
  2029. elseif torvel < 1 and hitfloor ~= nil then
  2030. Anim = "Idle"
  2031. change = .6
  2032. if attack == false then
  2033. 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)
  2034. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(15), Rad(0), Rad(-25)), 0.3)
  2035. if Mrandom(1,15) == 1 then
  2036. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20)), Rad(Mrandom(-20,20))), 0.3)
  2037. end
  2038. 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)
  2039. 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)
  2040. 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)
  2041. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.3 + 0.025 * Cos(sine / 20)) * angles(Rad(130), Rad(0), Rad(20)), 0.1)
  2042. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2043. end
  2044. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  2045. Anim = "Walk"
  2046. change = .4
  2047. if attack == false then
  2048. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  2049. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(30 * Cos(sine / 20)), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2050. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2051. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2052. 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) - ra.RotVelocity.Y / 75), 0.1)
  2053. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0) , Rad(-5) + la.RotVelocity.Y / 75), 0.1)
  2054. HW.C0 = clerp(HW.C0, CF(-.2,-.8,-.4) * angles(Rad(-30), Rad(220), Rad(65)), 0.1)
  2055. end
  2056. end
  2057. end
  2058. if 0 < #Effects then
  2059. for e = 1, #Effects do
  2060. if Effects[e] ~= nil then
  2061. local Thing = Effects[e]
  2062. if Thing ~= nil then
  2063. local Part = Thing[1]
  2064. local Mode = Thing[2]
  2065. local Delay = Thing[3]
  2066. local IncX = Thing[4]
  2067. local IncY = Thing[5]
  2068. local IncZ = Thing[6]
  2069. if 1 >= Thing[1].Transparency then
  2070. if Thing[2] == "Block1" then
  2071. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2072. local Mesh = Thing[1].Mesh
  2073. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2074. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2075. elseif Thing[2] == "Block2" then
  2076. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2077. local Mesh = Thing[7]
  2078. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2079. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2080. elseif Thing[2] == "Block3" then
  2081. 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)
  2082. local Mesh = Thing[7]
  2083. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2084. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2085. elseif Thing[2] == "Cylinder" then
  2086. local Mesh = Thing[1].Mesh
  2087. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2088. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2089. elseif Thing[2] == "Blood" then
  2090. local Mesh = Thing[7]
  2091. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2092. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2093. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2094. elseif Thing[2] == "Elec" then
  2095. local Mesh = Thing[1].Mesh
  2096. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2097. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2098. elseif Thing[2] == "Disappear" then
  2099. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2100. elseif Thing[2] == "Shatter" then
  2101. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2102. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2103. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2104. Thing[6] = Thing[6] + Thing[5]
  2105. end
  2106. else
  2107. Part.Parent = nil
  2108. table.remove(Effects, e)
  2109. end
  2110. end
  2111. end
  2112. end
  2113. end
  2114. end
  2115. -------------------------------------------------------
  2116. --End Animations And Script--
  2117. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement