Advertisement
cubanmixed2

Lool2

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