Advertisement
lafur

Untitled

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