Advertisement
sneakydodge123

magic school bus

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