Advertisement
wormybag9035

wssdas

Jul 1st, 2019
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.21 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").wormybag9035
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. wait(0.2)
  87.  
  88.  
  89.  
  90. Player = game:GetService("Players").wormybag9035
  91. PlayerGui = Player.PlayerGui
  92. Cam = workspace.CurrentCamera
  93. Backpack = Player.Backpack
  94. Character = Player.Character
  95. Humanoid = Character.Humanoid
  96. RootPart = Character["HumanoidRootPart"]
  97. Torso = Character["Torso"]
  98. Head = Character["Head"]
  99. RightArm = Character["Right Arm"]
  100. LeftArm = Character["Left Arm"]
  101. RightLeg = Character["Right Leg"]
  102. LeftLeg = Character["Left Leg"]
  103. RootJoint = RootPart["RootJoint"]
  104. Neck = Torso["Neck"]
  105. RightShoulder = Torso["Right Shoulder"]
  106. LeftShoulder = Torso["Left Shoulder"]
  107. RightHip = Torso["Right Hip"]
  108. LeftHip = Torso["Left Hip"]
  109.  
  110. IT = Instance.new
  111. CF = CFrame.new
  112. VT = Vector3.new
  113. RAD = math.rad
  114. C3 = Color3.new
  115. UD2 = UDim2.new
  116. BRICKC = BrickColor.new
  117. ANGLES = CFrame.Angles
  118. EULER = CFrame.fromEulerAnglesXYZ
  119. COS = math.cos
  120. ACOS = math.acos
  121. SIN = math.sin
  122. ASIN = math.asin
  123. ABS = math.abs
  124. MRANDOM = math.random
  125. FLOOR = math.floor
  126.  
  127. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  128. local NEWMESH = IT(MESH)
  129. if MESH == "SpecialMesh" then
  130. NEWMESH.MeshType = MESHTYPE
  131. if MESHID ~= "nil" and MESHID ~= "" then
  132. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=10470609"
  133. end
  134. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  135. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=10470600"
  136. end
  137. end
  138. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  139. NEWMESH.Scale = SCALE
  140. NEWMESH.Parent = PARENT
  141. return NEWMESH
  142. end
  143.  
  144. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  145. local NEWPART = IT("Part")
  146. NEWPART.formFactor = FORMFACTOR
  147. NEWPART.Reflectance = REFLECTANCE
  148. NEWPART.Transparency = TRANSPARENCY
  149. NEWPART.CanCollide = false
  150. NEWPART.Locked = true
  151. NEWPART.Anchored = true
  152. if ANCHOR == false then
  153. NEWPART.Anchored = false
  154. end
  155. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  156. NEWPART.Name = NAME
  157. NEWPART.Size = SIZE
  158. NEWPART.Position = Torso.Position
  159. NEWPART.Material = MATERIAL
  160. NEWPART:BreakJoints()
  161. NEWPART.Parent = PARENT
  162. return NEWPART
  163. end
  164.  
  165. --//=================================\\
  166. --|| CUSTOMIZATION
  167. --\\=================================//
  168.  
  169. Class_Name = "SODA"
  170. Weapon_Name = "Add-ons"
  171.  
  172. Custom_Colors = {
  173. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  174. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  175.  
  176. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  177. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  178. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  179. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  180. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  181.  
  182. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  183. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  184. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  185. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  186. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  187. }
  188.  
  189.  
  190. Player_Size = 1 --Size of the player.
  191. Animation_Speed = 3
  192. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  193.  
  194. local Speed = 16
  195. local Effects2 = {}
  196.  
  197. --//=================================\\
  198. --|| END OF CUSTOMIZATION
  199. --\\=================================//
  200.  
  201. local function weldBetween(a, b)
  202. local weldd = Instance.new("ManualWeld")
  203. weldd.Part0 = a
  204. weldd.Part1 = b
  205. weldd.C0 = CFrame.new()
  206. weldd.C1 = b.CFrame:inverse() * a.CFrame
  207. weldd.Parent = a
  208. return weldd
  209. end
  210.  
  211. --//=================================\\
  212. --|| USEFUL VALUES
  213. --\\=================================//
  214.  
  215. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  216. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  217. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  218. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  219. local CHANGEDEFENSE = 0
  220. local CHANGEDAMAGE = 0
  221. local CHANGEMOVEMENT = 0
  222. local ANIM = "Idle"
  223. local ATTACK = false
  224. local EQUIPPED = false
  225. local HOLD = false
  226. local COMBO = 1
  227. local Rooted = false
  228. local SINE = 0
  229. local KEYHOLD = false
  230. local CHANGE = 2 / Animation_Speed
  231. local WALKINGANIM = false
  232. local WALK = 0
  233. local VALUE1 = false
  234. local VALUE2 = false
  235. local ROBLOXIDLEANIMATION = IT("Animation")
  236. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  237. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  238. --ROBLOXIDLEANIMATION.Parent = Humanoid
  239. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  240. WEAPONGUI.Name = "Weapon GUI"
  241. local Weapon = IT("Model")
  242. Weapon.Name = Weapon_Name
  243. local Effects = IT("Folder", Weapon)
  244. Effects.Name = "Effects"
  245. local ANIMATOR = Humanoid.Animator
  246. local ANIMATE = Character.Animate
  247. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  248. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  249. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  250. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  251. local UNANCHOR = true
  252.  
  253. local SKILLTEXTCOLOR = BRICKC"Burnt Sienna".Color
  254. --//=================================\\
  255. --\\=================================//
  256.  
  257.  
  258. --//=================================\\
  259. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  260. --\\=================================//
  261.  
  262. ArtificialHB = Instance.new("BindableEvent", script)
  263. ArtificialHB.Name = "ArtificialHB"
  264.  
  265. script:WaitForChild("ArtificialHB")
  266.  
  267. frame = Frame_Speed
  268. tf = 0
  269. allowframeloss = false
  270. tossremainder = false
  271. lastframe = tick()
  272. script.ArtificialHB:Fire()
  273.  
  274. game:GetService("RunService").Heartbeat:connect(function(s, p)
  275. tf = tf + s
  276. if tf >= frame then
  277. if allowframeloss then
  278. script.ArtificialHB:Fire()
  279. lastframe = tick()
  280. else
  281. for i = 1, math.floor(tf / frame) do
  282. script.ArtificialHB:Fire()
  283. end
  284. lastframe = tick()
  285. end
  286. if tossremainder then
  287. tf = 0
  288. else
  289. tf = tf - frame * math.floor(tf / frame)
  290. end
  291. end
  292. end)
  293.  
  294. --//=================================\\
  295. --\\=================================//
  296.  
  297.  
  298.  
  299.  
  300.  
  301. --//=================================\\
  302. --|| SOME FUNCTIONS
  303. --\\=================================//
  304.  
  305. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  306. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  307. end
  308.  
  309. function PositiveAngle(NUMBER)
  310. if NUMBER >= 0 then
  311. NUMBER = 0
  312. end
  313. return NUMBER
  314. end
  315.  
  316. function NegativeAngle(NUMBER)
  317. if NUMBER <= 0 then
  318. NUMBER = 0
  319. end
  320. return NUMBER
  321. end
  322.  
  323. function Swait(NUMBER)
  324. if NUMBER == 0 or NUMBER == nil then
  325. ArtificialHB.Event:wait()
  326. else
  327. for i = 1, NUMBER do
  328. ArtificialHB.Event:wait()
  329. end
  330. end
  331. end
  332.  
  333. function QuaternionFromCFrame(cf)
  334. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  335. local trace = m00 + m11 + m22
  336. if trace > 0 then
  337. local s = math.sqrt(1 + trace)
  338. local recip = 0.5 / s
  339. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  340. else
  341. local i = 0
  342. if m11 > m00 then
  343. i = 1
  344. end
  345. if m22 > (i == 0 and m00 or m11) then
  346. i = 2
  347. end
  348. if i == 0 then
  349. local s = math.sqrt(m00 - m11 - m22 + 1)
  350. local recip = 0.5 / s
  351. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  352. elseif i == 1 then
  353. local s = math.sqrt(m11 - m22 - m00 + 1)
  354. local recip = 0.5 / s
  355. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  356. elseif i == 2 then
  357. local s = math.sqrt(m22 - m00 - m11 + 1)
  358. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  359. end
  360. end
  361. end
  362.  
  363. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  364. local xs, ys, zs = x + x, y + y, z + z
  365. local wx, wy, wz = w * xs, w * ys, w * zs
  366. local xx = x * xs
  367. local xy = x * ys
  368. local xz = x * zs
  369. local yy = y * ys
  370. local yz = y * zs
  371. local zz = z * zs
  372. 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))
  373. end
  374.  
  375. function QuaternionSlerp(a, b, t)
  376. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  377. local startInterp, finishInterp;
  378. if cosTheta >= 0.0001 then
  379. if (1 - cosTheta) > 0.0001 then
  380. local theta = ACOS(cosTheta)
  381. local invSinTheta = 1 / SIN(theta)
  382. startInterp = SIN((1 - t) * theta) * invSinTheta
  383. finishInterp = SIN(t * theta) * invSinTheta
  384. else
  385. startInterp = 1 - t
  386. finishInterp = t
  387. end
  388. else
  389. if (1 + cosTheta) > 0.0001 then
  390. local theta = ACOS(-cosTheta)
  391. local invSinTheta = 1 / SIN(theta)
  392. startInterp = SIN((t - 1) * theta) * invSinTheta
  393. finishInterp = SIN(t * theta) * invSinTheta
  394. else
  395. startInterp = t - 1
  396. finishInterp = t
  397. end
  398. end
  399. 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
  400. end
  401.  
  402. function Clerp(a, b, t)
  403. local qa = {QuaternionFromCFrame(a)}
  404. local qb = {QuaternionFromCFrame(b)}
  405. local ax, ay, az = a.x, a.y, a.z
  406. local bx, by, bz = b.x, b.y, b.z
  407. local _t = 1 - t
  408. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  409. end
  410.  
  411. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  412. local frame = IT("Frame")
  413. frame.BackgroundTransparency = TRANSPARENCY
  414. frame.BorderSizePixel = BORDERSIZEPIXEL
  415. frame.Position = POSITION
  416. frame.Size = SIZE
  417. frame.BackgroundColor3 = COLOR
  418. frame.BorderColor3 = BORDERCOLOR
  419. frame.Name = NAME
  420. frame.Parent = PARENT
  421. return frame
  422. end
  423.  
  424. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  425. local label = IT("TextLabel")
  426. label.BackgroundTransparency = 1
  427. label.Size = UD2(1, 0, 1, 0)
  428. label.Position = UD2(0, 0, 0, 0)
  429. label.TextColor3 = TEXTCOLOR
  430. label.TextStrokeTransparency = STROKETRANSPARENCY
  431. label.TextTransparency = TRANSPARENCY
  432. label.FontSize = TEXTFONTSIZE
  433. label.Font = TEXTFONT
  434. label.BorderSizePixel = BORDERSIZEPIXEL
  435. label.TextScaled = false
  436. label.Text = TEXT
  437. label.Name = NAME
  438. label.Parent = PARENT
  439. return label
  440. end
  441.  
  442. function NoOutlines(PART)
  443. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  444. end
  445.  
  446.  
  447. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  448. local NEWWELD = IT(TYPE)
  449. NEWWELD.Part0 = PART0
  450. NEWWELD.Part1 = PART1
  451. NEWWELD.C0 = C0
  452. NEWWELD.C1 = C1
  453. NEWWELD.Parent = PARENT
  454. return NEWWELD
  455. end
  456.  
  457. function CreateSound(ID, PARENT, VOLUME, PITCH)
  458. local NEWSOUND = nil
  459. coroutine.resume(coroutine.create(function()
  460. NEWSOUND = IT("Sound", PARENT)
  461. NEWSOUND.Volume = VOLUME
  462. NEWSOUND.Pitch = PITCH
  463. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  464. Swait()
  465. NEWSOUND:play()
  466. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  467. end))
  468. return NEWSOUND
  469. end
  470.  
  471. function CFrameFromTopBack(at, top, back)
  472. local right = top:Cross(back)
  473. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  474. end
  475.  
  476. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  477. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  478. local mesh = IT("SpecialMesh",wave)
  479. mesh.MeshType = "FileMesh"
  480. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  481. mesh.Scale = SIZE
  482. mesh.Offset = VT(0,0,-SIZE.X/8)
  483. wave.CFrame = CFRAME
  484. coroutine.resume(coroutine.create(function(PART)
  485. for i = 1, WAIT do
  486. Swait()
  487. mesh.Scale = mesh.Scale + GROW
  488. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  489. if DOESROT == true then
  490. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  491. end
  492. wave.Transparency = wave.Transparency + (0.5/WAIT)
  493. if wave.Transparency > 0.99 then
  494. wave:remove()
  495. end
  496. end
  497. end))
  498. end
  499.  
  500. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  501. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  502. local mesh = IT("SpecialMesh",wave)
  503. mesh.MeshType = "FileMesh"
  504. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  505. mesh.Scale = SIZE
  506. mesh.Offset = VT(0,0,-SIZE.X/8)
  507. wave.CFrame = CFRAME
  508. coroutine.resume(coroutine.create(function(PART)
  509. for i = 1, WAIT do
  510. Swait()
  511. mesh.Scale = mesh.Scale + GROW
  512. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  513. if DOESROT == true then
  514. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  515. end
  516. wave.Transparency = wave.Transparency + (0.5/WAIT)
  517. if wave.Transparency > 0.99 then
  518. wave:remove()
  519. end
  520. end
  521. end))
  522. end
  523.  
  524. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  525. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  526. local mesh = IT("SpecialMesh",wave)
  527. mesh.MeshType = "FileMesh"
  528. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  529. mesh.Scale = SIZE
  530. wave.CFrame = CFRAME
  531. coroutine.resume(coroutine.create(function(PART)
  532. for i = 1, WAIT do
  533. Swait()
  534. mesh.Scale = mesh.Scale + GROW
  535. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  536. if DOESROT == true then
  537. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  538. end
  539. wave.Transparency = wave.Transparency + (0.5/WAIT)
  540. if wave.Transparency > 0.99 then
  541. wave:remove()
  542. end
  543. end
  544. end))
  545. end
  546.  
  547. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  548. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  549. local mesh = IT("SpecialMesh",wave)
  550. mesh.MeshType = "Sphere"
  551. mesh.Scale = SIZE
  552. mesh.Offset = VT(0,0,0)
  553. wave.CFrame = CFRAME
  554. coroutine.resume(coroutine.create(function(PART)
  555. for i = 1, WAIT do
  556. Swait()
  557. mesh.Scale = mesh.Scale + GROW
  558. wave.Transparency = wave.Transparency + (1/WAIT)
  559. if wave.Transparency > 0.99 then
  560. wave:remove()
  561. end
  562. end
  563. end))
  564. end
  565.  
  566. function MakeForm(PART,TYPE)
  567. if TYPE == "Cyl" then
  568. local MSH = IT("CylinderMesh",PART)
  569. elseif TYPE == "Ball" then
  570. local MSH = IT("SpecialMesh",PART)
  571. MSH.MeshType = "Sphere"
  572. elseif TYPE == "Wedge" then
  573. local MSH = IT("SpecialMesh",PART)
  574. MSH.MeshType = "Wedge"
  575. end
  576. end
  577.  
  578. function CheckTableForString(Table, String)
  579. for i, v in pairs(Table) do
  580. if string.find(string.lower(String), string.lower(v)) then
  581. return true
  582. end
  583. end
  584. return false
  585. end
  586.  
  587. function CheckIntangible(Hit)
  588. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  589. if Hit and Hit.Parent then
  590. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  591. return true
  592. end
  593. end
  594. return false
  595. end
  596.  
  597. Debris = game:GetService("Debris")
  598.  
  599. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  600. local Direction = CFrame.new(StartPos, Vec).lookVector
  601. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  602. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  603. if RayHit and CheckIntangible(RayHit) then
  604. if DelayIfHit then
  605. wait()
  606. end
  607. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  608. end
  609. return RayHit, RayPos, RayNormal
  610. end
  611.  
  612. function turnto(position)
  613. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  614. end
  615.  
  616. --//=================================\\
  617. --|| SPEECH
  618. --\\=================================//
  619.  
  620. function chatfunc(text,waitt)
  621. local chat = coroutine.wrap(function()
  622. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  623. Character:FindFirstChild("TalkingBillBoard"):destroy()
  624. end
  625. local naeeym2 = Instance.new("BillboardGui",Character)
  626. naeeym2.Size = UDim2.new(0,100,0,40)
  627. naeeym2.StudsOffset = Vector3.new(0,5,0)
  628. naeeym2.Adornee = Character.Head
  629. naeeym2.Name = "TalkingBillBoard"
  630. naeeym2.AlwaysOnTop = true
  631. local tecks2 = Instance.new("TextLabel",naeeym2)
  632. tecks2.BackgroundTransparency = 1
  633. tecks2.BorderSizePixel = 0
  634. tecks2.Text = ""
  635. tecks2.Font = "SciFi"
  636. tecks2.TextSize = 30
  637. tecks2.TextStrokeTransparency = 1
  638. tecks2.TextColor3 = SKILLTEXTCOLOR
  639. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  640. tecks2.Size = UDim2.new(1,0,0.5,0)
  641. for i = 1,string.len(text),1 do
  642. tecks2.Text = string.sub(text,1,i)
  643. Swait()
  644. end
  645. wait(waitt)
  646. coroutine.resume(coroutine.create(function()
  647. for i = 1, 10 do
  648. tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  649. Swait()
  650. end
  651. naeeym2:Destroy()
  652. end))
  653. end)
  654. chat()
  655. end
  656.  
  657. --//=================================\\
  658. --|| WEAPON CREATION
  659. --\\=================================//
  660.  
  661. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false)
  662. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh","278481996", "278481996", VT(1,1,1), VT(0,0,0))
  663. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  664.  
  665. for _, c in pairs(Weapon:GetChildren()) do
  666. if c.ClassName == "Part" then
  667. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  668. end
  669. end
  670.  
  671. Weapon.Parent = Character
  672.  
  673. Humanoid.Died:connect(function()
  674. ATTACK = true
  675. end)
  676.  
  677. print(Class_Name.." loaded.")
  678.  
  679. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  680. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  681. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  682.  
  683. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Soda rush", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 1, "Text 1")
  684. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Soda bomb", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 1, "Text 2")
  685. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] SO-DAH NOOK", SKILLTEXTCOLOR, 7, "Antique", 0, 2, 1, "Text 3")
  686.  
  687. --//=================================\\
  688. --|| DAMAGING
  689. --\\=================================//
  690.  
  691. function killnearest(position,range,maxstrength)
  692. for i,v in ipairs(workspace:GetChildren()) do
  693. local body = v:GetChildren()
  694. for part = 1, #body do
  695. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  696. if(body[part].Position - position).Magnitude < range then
  697. if v.ClassName == "Model" then
  698. v:BreakJoints()
  699. end
  700. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  701. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  702. end
  703. end
  704. end
  705. if v.ClassName == "Part" then
  706. if v.Anchored == false and (v.Position - position).Magnitude < range then
  707. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  708. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  709. end
  710. end
  711. end
  712. end
  713.  
  714. --//=================================\\
  715. --|| ATTACK FUNCTIONS AND STUFF
  716. --\\=================================//
  717.  
  718. function Drincc()
  719. ATTACK = true
  720. Rooted = true
  721. for i=0, 1, 0.1 / Animation_Speed do
  722. Swait()
  723. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  724. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  725. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(-55)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  726. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  727. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  728. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  729. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  730. end
  731. if MRANDOM(1,5) == 1 then
  732. CreateSound("1107256445", Effects, 10, 1)
  733. CreateSound("1107256445", Effects, 10, 1)
  734. CreateSound("1107256445", Effects, 10, 1)
  735. CreateSound("1107256445", Effects, 10, 1)
  736. Swait(200)
  737. CreateSound("363808674", Torso, 10, 1.3)
  738. for i=0, 10, 0.1 / Animation_Speed do
  739. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  740. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  741. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  742. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  743. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  744. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  745. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  746. end
  747. Swait(150)
  748. chatfunc("What is in this soda",2)
  749. Swait(200)
  750. else
  751. CreateSound("399762682", Torso, 4, 1)
  752. Swait(150)
  753. for i=0, 1.3, 0.1 / Animation_Speed do
  754. Swait()
  755. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(15)), 0.25 / Animation_Speed)
  757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.2, -0.75) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  759. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  760. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  761. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  762. end
  763. for i=0, 1.3, 0.1 / Animation_Speed do
  764. Swait()
  765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.25 / Animation_Speed)
  767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(75), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1.2, -0.75) * ANGLES(RAD(90), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  769. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  771. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  772. end
  773. end
  774. ATTACK = false
  775. Rooted = false
  776. end
  777.  
  778. function SodaRush()
  779. Rooted = true
  780. ATTACK = true
  781. local soundeffect = IT("Sound",HandlePart)
  782. soundeffect.SoundId = "rbxassetid://188703219"
  783. soundeffect.Looped = true
  784. soundeffect.Volume = 10
  785. soundeffect.Playing = true
  786. for i=0, 2, 0.1 / Animation_Speed do
  787. Swait()
  788. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  789. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  790. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90 - 75 * SIN(SINE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  791. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  792. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  793. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  794. end
  795. soundeffect:remove()
  796. Swait()
  797. for i=0, 2, 0.1 / Animation_Speed do
  798. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(180)), 0.15 / Animation_Speed)
  799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(45), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(45), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  802. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  803. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  804. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90-45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  805. end
  806. CreateSound("907668984", HandlePart, 10, 2)
  807. for i = 1, 85 do
  808. Swait()
  809. turnto(Mouse.Hit.p)
  810. MagicSphere(VT(2,2,2),15,CF(HandlePart.Position),"Reddish brown",VT(-1/25,-1/25,-1/25))
  811. MagicSphere(VT(1,1,1),25,CF(HandlePart.Position),"Reddish brown",VT(-1/25,-1/25,-1/25))
  812. RootPart.CFrame = RootPart.CFrame * CF(0,0,-2)
  813. killnearest(Torso.Position,5,75)
  814. end
  815. for i=0, 2, 0.1 / Animation_Speed do
  816. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  817. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  818. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  819. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  820. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  821. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  822. HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1.1, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  823. end
  824. ATTACK = false
  825. Rooted = false
  826. end
  827.  
  828. function clerp(a, b, t)
  829. return a:lerp(b, t)
  830. end
  831.  
  832. function newBezier(startpos, pos2, pos3, endpos, t)
  833. local A = clerp(startpos, pos2, t)
  834. local B = clerp(pos2, pos3, t)
  835. local C = clerp(pos3, endpos, t)
  836. local lerp1 = clerp(A, B, t)
  837. local lerp2 = clerp(B, C, t)
  838. local cubic = clerp(lerp1, lerp2, t)
  839. return cubic
  840. end
  841.  
  842. function SodaBomb()
  843. Rooted = true
  844. ATTACK = true
  845. local soundeffect = IT("Sound",HandlePart)
  846. soundeffect.SoundId = "rbxassetid://188703219"
  847. soundeffect.Looped = true
  848. soundeffect.Volume = 10
  849. soundeffect.Playing = true
  850. for i=0, 1.5, 0.1 / Animation_Speed do
  851. Swait()
  852. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  853. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  854. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90 - 75 * SIN(SINE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  855. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  856. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  857. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  858. end
  859. soundeffect:remove()
  860. local BOMB = HandlePart:Clone()
  861. BOMB.Parent = Effects
  862. BOMB.Size = VT(1,1,1)
  863. BOMB.CanCollide = true
  864. HandlePart.Transparency = 1
  865. CreateSound("907668984", BOMB, 10, 2)
  866. local WELD = weldBetween(RightArm,BOMB)
  867. for i=0, 2, 0.1 / Animation_Speed do
  868. Swait()
  869. turnto(Mouse.Hit.p)
  870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  874. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  876. end
  877. for i=0, 0.1, 0.1 / Animation_Speed do
  878. Swait()
  879. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1)
  880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 1)
  881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1)
  882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1)
  883. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  885. end
  886. CreateSound("1112042117", BOMB, 10, 1)
  887. WELD:remove()
  888. local ROCK = BOMB
  889. local POS = ROCK.Position
  890. ROCK.Anchored = true
  891. local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  892. local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  893. for i = 0, 1, 0.07 do
  894. Swait()
  895. ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  896. end
  897. ROCK.Anchored = false
  898. ROCK.CanCollide = true
  899. CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Reddish brown",VT(3,0.2,3),0.5)
  900. MagicSphere(VT(1,1,1),25,CF(ROCK.Position),"Pine Cone",VT(3,3,3))
  901. MagicSphere(VT(0.5,0.5,0.5),25,CF(ROCK.Position),"Reddish brown",VT(3,3,3))
  902. killnearest(ROCK.Position,25,35)
  903. ROCK.Anchored = true
  904. ROCK.CanCollide = false
  905. ROCK.Transparency = 1
  906. CreateSound("691216625", ROCK, 10, 2)
  907. Debris:AddItem(ROCK,5)
  908. for i=0, 1.6, 0.1 / Animation_Speed do
  909. Swait()
  910. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 1)
  911. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-5)), 1)
  912. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1)
  913. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1)
  914. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  915. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1)
  916. end
  917. Swait(15)
  918. HandlePart.Transparency = 0
  919. ATTACK = false
  920. Rooted = false
  921. end
  922.  
  923. function SodaNOOK()
  924. Rooted = true
  925. ATTACK = true
  926. chatfunc("OH LAWDY WE BLEW UP!",5)
  927. local soundeffect = IT("Sound",HandlePart)
  928. soundeffect.SoundId = "rbxassetid://188703219"
  929. soundeffect.Looped = true
  930. soundeffect.Volume = 10
  931. soundeffect.Playing = true
  932. for i=0, 25, 0.1 / Animation_Speed do
  933. Swait()
  934. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  935. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  936. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90 - 120 * SIN(SINE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  937. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  938. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  939. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  940. end
  941. soundeffect:remove()
  942. Character:BreakJoints()
  943. local Explosion = IT("Explosion",Effects)
  944. Explosion.Position = HandlePart.Position
  945. Explosion.BlastPressure = 5000000
  946. local PRT = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0))
  947. PRT.CanCollide = false
  948. PRT.CFrame = CF(HandlePart.Position)
  949. Debris:AddItem(PRT,10)
  950. CreateSound("2248511", Effects, 10, 0.2)
  951. MagicSphere(VT(5,5,5),250,PRT.CFrame*CF(0,-2,0),"Pine Cone",VT(6,2,6))
  952. MagicSphere(VT(4,4,4),250,PRT.CFrame*CF(0,-2,0),"Reddish brown",VT(6,2,6))
  953. MagicSphere(VT(5,5,5),250,PRT.CFrame,"Pine Cone",VT(5,15,5))
  954. MagicSphere(VT(4,4,4),250,PRT.CFrame,"Reddish brown",VT(5,15,5))
  955. CreateWave(VT(1,5,1),250,PRT.CFrame*CF(0,-2,0),true,4,"Reddish brown",VT(5,1,5))
  956. CreateSwirl(VT(0,0,0),250,PRT.CFrame,true,-4,"Pine Cone",VT(6,6,6))
  957. CreateSpikeball(VT(0,0,0),250,PRT.CFrame,true,15,"Pine Cone",VT(3,3,3))
  958. for i = 1, 250 do
  959. Swait()
  960. killnearest(PRT.Position,750000,75)
  961. end
  962. ATTACK = false
  963. Rooted = false
  964. end
  965.  
  966. --//=================================\\
  967. --|| ASSIGN THINGS TO KEYS
  968. --\\=================================//
  969.  
  970. function MouseDown(Mouse)
  971. if ATTACK == false then
  972. end
  973. end
  974.  
  975. function MouseUp(Mouse)
  976. HOLD = false
  977. end
  978.  
  979. function KeyDown(Key)
  980. KEYHOLD = true
  981. if Rooted == false then
  982. if Key == "z" and ATTACK == false then
  983. SodaRush()
  984. end
  985.  
  986. if Key == "b" and ATTACK == false then
  987. SodaBomb()
  988. end
  989.  
  990. if Key == "c" and ATTACK == false then
  991. SodaNOOK()
  992. end
  993.  
  994. if Key == "t" and ATTACK == false then
  995. Drincc()
  996. end
  997. end
  998. end
  999.  
  1000. function KeyUp(Key)
  1001. KEYHOLD = false
  1002. end
  1003.  
  1004. Mouse.Button1Down:connect(function(NEWKEY)
  1005. MouseDown(NEWKEY)
  1006. end)
  1007. Mouse.Button1Up:connect(function(NEWKEY)
  1008. MouseUp(NEWKEY)
  1009. end)
  1010. Mouse.KeyDown:connect(function(NEWKEY)
  1011. KeyDown(NEWKEY)
  1012. end)
  1013. Mouse.KeyUp:connect(function(NEWKEY)
  1014. KeyUp(NEWKEY)
  1015. end)
  1016.  
  1017. --//=================================\\
  1018. --\\=================================//
  1019.  
  1020.  
  1021. function unanchor()
  1022. if UNANCHOR == true then
  1023. g = Character:GetChildren()
  1024. for i = 1, #g do
  1025. if g[i].ClassName == "Part" then
  1026. g[i].Anchored = false
  1027. end
  1028. end
  1029. end
  1030. end
  1031.  
  1032.  
  1033. --//=================================\\
  1034. --|| WRAP THE WHOLE SCRIPT UP
  1035. --\\=================================//
  1036.  
  1037. Humanoid.Changed:connect(function(Jump)
  1038. if Jump == "Jump" and (Disable_Jump == true) then
  1039. Humanoid.Jump = false
  1040. end
  1041. end)
  1042.  
  1043. while true do
  1044. Swait()
  1045. ANIMATE.Parent = nil
  1046. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1047. IDLEANIMATION:Play()
  1048. SINE = SINE + CHANGE
  1049. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1050. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1051. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1052. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1053. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1054. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1055. ANIM = "Jump"
  1056. if ATTACK == false then
  1057. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1058. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1061. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1062. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1063. end
  1064. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1065. ANIM = "Fall"
  1066. if ATTACK == false then
  1067. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1068. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1069. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1070. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1071. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1072. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1073. end
  1074. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1075. ANIM = "Idle"
  1076. if ATTACK == false then
  1077. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1081. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1082. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1083. end
  1084. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1085. ANIM = "Walk"
  1086. WALK = WALK + 1 / Animation_Speed
  1087. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1088. WALK = 0
  1089. if WALKINGANIM == true then
  1090. WALKINGANIM = false
  1091. elseif WALKINGANIM == false then
  1092. WALKINGANIM = true
  1093. end
  1094. end
  1095. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1096. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1097. if ATTACK == false then
  1098. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1099. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1100. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1101. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1102. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-60 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  1103. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-60 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  1104. end
  1105. end
  1106. if #Effects2>0 then
  1107. for e=1,#Effects2 do
  1108. if Effects2[e]~=nil then
  1109. local Thing=Effects2[e]
  1110. if Thing~=nil then
  1111. local Part=Thing[1]
  1112. local Mode=Thing[2]
  1113. local Delay=Thing[3]
  1114. local IncX=Thing[4]
  1115. local IncY=Thing[5]
  1116. local IncZ=Thing[6]
  1117. local Part2=Thing[8]
  1118. if Thing[1].Transparency<=1 then
  1119. if Thing[2]=="Block1" then
  1120. Thing[1].CFrame=Thing[1].CFrame
  1121. Mesh=Thing[1].Mesh
  1122. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1123. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1124. elseif Thing[2]=="Cylinder" then
  1125. Mesh=Thing[1].Mesh
  1126. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1127. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1128. elseif Thing[2]=="Blood" then
  1129. Mesh=Thing[7]
  1130. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1131. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1132. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1133. elseif Thing[2]=="Elec" then
  1134. Mesh=Thing[1].Mesh
  1135. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1136. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1137. elseif Thing[2]=="Disappear" then
  1138. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1139. end
  1140. else
  1141. Part.Parent=nil
  1142. table.remove(Effects2,e)
  1143. end
  1144. end
  1145. end
  1146. end
  1147. end
  1148. unanchor()
  1149. Humanoid.MaxHealth = "inf"
  1150. Humanoid.Health = "inf"
  1151. if Rooted == false then
  1152. Disable_Jump = false
  1153. Humanoid.WalkSpeed = Speed
  1154. elseif Rooted == true then
  1155. Disable_Jump = true
  1156. Humanoid.WalkSpeed = 0
  1157. end
  1158. end
  1159.  
  1160. --//=================================\\
  1161. --\\=================================//
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167. --//====================================================\\--
  1168. --|| END OF SCRIPT
  1169. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement