Advertisement
Guest User

Untitled

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