Advertisement
nuttanun734

TEST

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