Advertisement
nuttanun734

XD

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