Advertisement
wamandnj

Untitled

Mar 19th, 2019
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----// God Script \\----
  2. ----|| OP SCRIPT ||----
  3. ----\\ God Script //----
  4.  
  5. warn("Made By Red_Jack142")
  6. warn("ENJOY!")
  7.  
  8. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  9. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  10. do
  11. print("FE Covered By Red_Jack142 | FE Made By Red_Jack142")
  12. print("Have Fun!")
  13. script.Parent = Player.Character
  14.  
  15. --RemoteEvent for communicating
  16. local Event = Instance.new("RemoteEvent")
  17. Event.Name = "UserInput_Event"
  18.  
  19. --Fake event to make stuff like Mouse.KeyDown work
  20. local function fakeEvent()
  21. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  22. t.connect = t.Connect
  23. return t
  24. end
  25.  
  26. --Creating fake input objects with fake variables
  27. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  28. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  29. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  30. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  31. end}
  32. --Merged 2 functions into one by checking amount of arguments
  33. CAS.UnbindAction = CAS.BindAction
  34.  
  35. --This function will trigger the events that have been :Connect()'ed
  36. local function te(self,ev,...)
  37. local t = m[ev]
  38. if t and t._fakeEvent and t.Function then
  39. t.Function(...)
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=Player then return end
  47. if io.isMouse then
  48. m.Target = io.Target
  49. m.Hit = io.Hit
  50. else
  51. local b = io.UserInputState == Enum.UserInputState.Begin
  52. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  53. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  54. end
  55. for _,t in pairs(CAS.Actions) do
  56. for _,k in pairs(t.Keys) do
  57. if k==io.KeyCode then
  58. t.Function(t.Name,io.UserInputState,io)
  59. end
  60. end
  61. end
  62. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  63. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  64. end
  65. end)
  66. Event.Parent = NLS([==[
  67. local Player = owner
  68. local Event = script:WaitForChild("UserInput_Event")
  69.  
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local Mouse = Player:GetMouse()
  80. local h,t
  81. --Give the server mouse data 30 times every second, but only if the values changed
  82. --If player is not moving their mouse, client won't fire events
  83. while wait(1/30) do
  84. if h~=Mouse.Hit or t~=Mouse.Target then
  85. h,t=Mouse.Hit,Mouse.Target
  86. Event:FireServer({isMouse=true,Target=t,Hit=h})
  87. end
  88. end]==],Player.Character)
  89. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  90. end
  91.  
  92.  
  93. local p = owner
  94. local char = p.Character
  95. local size = 8
  96. part = function()
  97.  
  98. local a = Instance.new("Part", script)
  99. a.Anchored = true
  100. a.CanCollide = true
  101. a.CFrame = char.Torso.CFrame
  102. a.Size = Vector3.new(size, 0.2, 0.2)
  103. a.Transparency = 1
  104. return a
  105. end
  106.  
  107. part2 = function()
  108.  
  109. local a = Instance.new("Part", script)
  110. a.Anchored = true
  111. a.CanCollide = true
  112. a.CFrame = char.Torso.CFrame
  113. a.Size = Vector3.new(0.2, size, 0.2)
  114. a.Transparency = 1
  115. return a
  116. end
  117.  
  118. part3 = function()
  119.  
  120. local a = Instance.new("Part", script)
  121. a.Anchored = true
  122. a.CanCollide = false
  123. a.Size = Vector3.new(size, size, 1)
  124. a.Transparency = 0.7
  125. a.Material = "Neon"
  126. a.BrickColor = BrickColor.new("Really red")
  127. local b = Instance.new("BlockMesh", a)
  128. b.Scale = Vector3.new(1, 1, 0)
  129. return a
  130. end
  131.  
  132. local replicating = false
  133. local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
  134. replicate = function()
  135.  
  136. replicating = true
  137. script:ClearAllChildren()
  138. root = part()
  139. root.Transparency = 1
  140. root.Size = Vector3.new(0.2, 0.2, 0.2)
  141. root.CanCollide = false
  142. a = part()
  143. b = part()
  144. c = part()
  145. d = part()
  146. a2 = part()
  147. b2 = part()
  148. c2 = part()
  149. d2 = part()
  150. aa = part2()
  151. bb = part2()
  152. cc = part2()
  153. dd = part2()
  154. z = part3()
  155. x = part3()
  156. c = part3()
  157. v = part3()
  158. b = part3()
  159. n = part3()
  160. replicating = false
  161. end
  162.  
  163. script.ChildRemoved:connect(function(a)
  164.  
  165. if a.ClassName == "Part" and replicating == false then
  166. replicate()
  167. end
  168. end
  169. )
  170. replicate()
  171. local tick = 0
  172. CreateRegion3FromLocAndSize = function(Position, Size)
  173.  
  174. local SizeOffset = Size / 2
  175. local Point1 = Position - SizeOffset
  176. local Point2 = Position + SizeOffset
  177. return Region3.new(Point1, Point2)
  178. end
  179.  
  180. local set = false
  181. local whitelist = {"TameDoNotClick", "PPATTA", "DevGamerzz", "I kill U", "kash5", "ZeroCrimson", "Zaidia", "tsup2", "PointCoded", "CLarramore", "Suzuuki", "", "", ""}
  182. p.Chatted:connect(function(ms)
  183.  
  184. if ms:sub(1, 5) == "size-" then
  185. size = tonumber(ms:sub(6))
  186. replicate()
  187. else
  188. if ms:sub(1, 4) == "set-" then
  189. set = true
  190. z.CanCollide = false
  191. x.CanCollide = false
  192. c.CanCollide = false
  193. v.CanCollide = false
  194. b.CanCollide = false
  195. n.CanCollide = false
  196. else
  197. if ms:sub(1, 6) == "unset-" then
  198. set = false
  199. z.CanCollide = false
  200. x.CanCollide = false
  201. c.CanCollide = false
  202. v.CanCollide = false
  203. b.CanCollide = false
  204. n.CanCollide = false
  205. else
  206. if ms:sub(1, 10) == "whitelist-" then
  207. table.insert(whitelist, ms:sub(11))
  208. else
  209. if ms:sub(1, 12) == "unwhitelist-" then
  210. for i,v in pairs(whitelist) do
  211. if ms:sub(13) == v then
  212. table.remove(whitelist, i)
  213. break
  214. end
  215. end
  216. end
  217. end
  218. end
  219. end
  220. end
  221. end
  222. )
  223. local magicpos = nil
  224. game:GetService("RunService").Heartbeat:connect(function()
  225.  
  226. pcall(function()
  227.  
  228. local void = char:GetChildren()
  229. for _,pl in pairs(whitelist) do
  230. if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then
  231. for i,v in pairs(game.Players[pl].Character:GetChildren()) do
  232. table.insert(void, v)
  233. end
  234. end
  235. end
  236. for i,v in pairs(game.Players:GetPlayers()) do
  237. if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then
  238. v:LoadCharacter()
  239. end
  240. end
  241. char.Humanoid.Health = math.huge
  242. Humanoid.MaxHealth = math.huge
  243. Humanoid.Health = math.huge
  244. char.Humanoid.Health = math.huge
  245. Humanoid.MaxHealth = math.huge
  246. Humanoid.Health = math.huge
  247. char.Humanoid.Health = math.huge
  248. Humanoid.MaxHealth = math.huge
  249. Humanoid.Health = math.huge
  250. char.Humanoid.Health = math.huge
  251. Humanoid.MaxHealth = math.huge
  252. Humanoid.Health = math.huge
  253. char.Humanoid.Health = math.huge
  254. Humanoid.MaxHealth = math.huge
  255. Humanoid.Health = math.huge
  256. char.Humanoid.Health = math.huge
  257. Humanoid.MaxHealth = math.huge
  258. Humanoid.Health = math.huge
  259. char.Humanoid.Health = math.huge
  260. Humanoid.MaxHealth = math.huge
  261. Humanoid.Health = math.huge
  262. char.Humanoid.Health = math.huge
  263. Humanoid.MaxHealth = math.huge
  264. Humanoid.Health = math.huge
  265. char.Humanoid.Health = math.huge
  266. Humanoid.MaxHealth = math.huge
  267. Humanoid.Health = math.huge
  268. char.Humanoid.Health = math.huge
  269. Humanoid.MaxHealth = math.huge
  270. Humanoid.Health = math.huge
  271. char.Humanoid.Health = math.huge
  272. Humanoid.MaxHealth = math.huge
  273. Humanoid.Health = math.huge
  274. char.Humanoid.Health = math.huge
  275. Humanoid.MaxHealth = math.huge
  276. Humanoid.Health = math.huge
  277. char.Humanoid.Health = math.huge
  278. Humanoid.MaxHealth = math.huge
  279. Humanoid.Health = math.huge
  280. char.Humanoid.Health = math.huge
  281. Humanoid.MaxHealth = math.huge
  282. Humanoid.Health = math.huge
  283. char.Humanoid.Health = math.huge
  284. Humanoid.MaxHealth = math.huge
  285. Humanoid.Health = math.huge
  286. char.Humanoid.Health = math.huge
  287. Humanoid.MaxHealth = math.huge
  288. Humanoid.Health = math.huge
  289. char.Humanoid.Health = math.huge
  290. Humanoid.MaxHealth = math.huge
  291. Humanoid.Health = math.huge
  292. char.Humanoid.Health = math.huge
  293. Humanoid.MaxHealth = math.huge
  294. Humanoid.Health = math.huge
  295. char.Humanoid.Health = math.huge
  296. Humanoid.MaxHealth = math.huge
  297. Humanoid.Health = math.huge
  298. tick = tick + 0.01
  299. if not set then
  300. root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1)
  301. magicpos = char.Torso.CFrame
  302. else
  303. root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05)
  304. end
  305. local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size))
  306. for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do
  307. if v.Name ~= "Base" then
  308. v:Destroy()
  309. end
  310. end
  311. a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  312. b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  313. c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2)
  314. d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2)
  315. a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  316. b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  317. c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2)
  318. d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2)
  319. aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2)
  320. bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2)
  321. cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2)
  322. dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2)
  323. z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  324. x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  325. c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90))
  326. v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90))
  327. b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
  328. n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
  329. end
  330. )
  331. end
  332. )
  333.  
  334.  
  335. script.Name = "Dark banish"
  336.  
  337. script:ClearAllChildren()
  338. wait(0.2)
  339.  
  340. Player = owner
  341. print'what'
  342. print'idk'
  343. print'why'
  344. daway = Player.Character
  345. PlayerGui = Player.PlayerGui
  346. Cam = workspace.CurrentCamera
  347. Backpack = Player.Backpack
  348. Character = Player.Character
  349. Humanoid = Character.Humanoid
  350. RootPart = Character["HumanoidRootPart"]
  351. Torso = Character["Torso"]
  352. Head = Character["Head"]
  353. RightArm = Character["Right Arm"]
  354. LeftArm = Character["Left Arm"]
  355. RightLeg = Character["Right Leg"]
  356. LeftLeg = Character["Left Leg"]
  357. RootJoint = RootPart["RootJoint"]
  358. Neck = Torso["Neck"]
  359. RightShoulder = Torso["Right Shoulder"]
  360. LeftShoulder = Torso["Left Shoulder"]
  361. RightHip = Torso["Right Hip"]
  362. LeftHip = Torso["Left Hip"]
  363. local sick = Instance.new("Sound",Character)
  364. sick.Parent = Character
  365. sick:resume()
  366. sick.Looped = true
  367. sick.TimePosition = 37
  368. sick.Volume = 5
  369. sick.Pitch = 1
  370. sick.SoundId = "rbxassetid://1502515158"
  371. sick.Name = "song"
  372.  
  373. function swait(num)
  374. if num == 0 or num == nil then
  375. ArtificialHB.Event:wait()
  376. else
  377. for i = 0, num do
  378. ArtificialHB.Event:wait()
  379. end
  380. end
  381. end
  382.  
  383. function chatfunc(text)
  384. local chat = coroutine.wrap(function()
  385. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  386. Character:FindFirstChild("TalkingBillBoard"):destroy()
  387. end
  388. local Bill = Instance.new("BillboardGui",Character)
  389. Bill.Size = UDim2.new(0,100,0,40)
  390. Bill.StudsOffset = Vector3.new(0,3,0)
  391. Bill.Adornee = Character.Head
  392. Bill.Name = "TalkingBillBoard"
  393. local Hehe = Instance.new("TextLabel",Bill)
  394. Hehe.BackgroundTransparency = 1
  395. Hehe.BorderSizePixel = 0
  396. Hehe.Text = ""
  397. Hehe.Font = "Cartoon"
  398. Hehe.TextSize = 40
  399. Hehe.TextStrokeTransparency = 0
  400. Hehe.Size = UDim2.new(1,0,0.5,0)
  401. coroutine.resume(coroutine.create(function()
  402. while Hehe ~= nil do
  403. swait()
  404. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  405. Hehe.Rotation = math.random(-5,5)
  406. Hehe.TextColor3 = Color3.new(1, 1, 1)
  407. Hehe.TextStrokeColor3 = Color3.new(1, 1, 1)
  408. end
  409. end))
  410. for i = 1,string.len(text),1 do
  411. swait()
  412. Hehe.Text = string.sub(text,1,i)
  413. end
  414. swait(90)--Re[math.random(1, 93)]
  415. for i = 0, 1, .025 do
  416. swait()
  417. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  418. Hehe.TextStrokeTransparency = i
  419. Hehe.TextTransparency = i
  420. end
  421. Bill:Destroy()
  422. end)
  423. chat()
  424. end
  425.  
  426. function onChatted(msg)
  427. chatfunc(msg)
  428. end
  429.  
  430. Player.Chatted:connect(onChatted)
  431.  
  432. local naeeym = Instance.new("BillboardGui",daway)
  433. naeeym.Size = UDim2.new(0,100,0,40)
  434. naeeym.StudsOffset = Vector3.new(0,2,0)
  435. naeeym.Adornee = daway.Head
  436. local tecks = Instance.new("TextLabel",naeeym)
  437. tecks.BackgroundTransparency = 1
  438. tecks.BorderSizePixel = 0
  439. tecks.Text = "Dark/Light Banish"
  440. tecks.Font = "Fantasy"
  441. tecks.FontSize = "Size24"
  442. tecks.TextStrokeTransparency = 0
  443. tecks.TextStrokeColor3 = Color3.new(0, 0, 0)
  444. tecks.TextColor3 = Color3.new(0, 0, 0)
  445. tecks.Size = UDim2.new(1,0,0.5,0)
  446.  
  447. IT = Instance.new
  448. CF = CFrame.new
  449. VT = Vector3.new
  450. RAD = math.rad
  451. C3 = Color3.new
  452. UD2 = UDim2.new
  453. BRICKC = BrickColor.new
  454. ANGLES = CFrame.Angles
  455. EULER = CFrame.fromEulerAnglesXYZ
  456. COS = math.cos
  457. ACOS = math.acos
  458. SIN = math.sin
  459. ASIN = math.asin
  460. ABS = math.abs
  461. MRANDOM = math.random
  462. FLOOR = math.floor
  463.  
  464. --//=================================\\
  465. --|| USEFUL VALUES
  466. --\\=================================//
  467.  
  468. Animation_Speed = 3
  469. local FORCERESET = false
  470. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  471. local Speed = 16
  472. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  473. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  474. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  475. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  476. local DAMAGEMULTIPLIER = 1
  477. local ANIM = "Idle"
  478. local ATTACK = false
  479. local EQUIPPED = false
  480. local HOLD = false
  481. local COMBO = 1
  482. local Rooted = false
  483. local SINE = 1
  484. local KEYHOLD = false
  485. local CHANGE = 2 / Animation_Speed
  486. local WALKINGANIM = false
  487. local VALUE1 = false
  488. local VALUE2 = false
  489. local ROBLOXIDLEANIMATION = IT("Animation")
  490. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  491. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  492. --ROBLOXIDLEANIMATION.Parent = Humanoid
  493. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  494. WEAPONGUI.Name = "BanishV3Gui"
  495. local Weapon = IT("Model")
  496. Weapon.Name = "Adds"
  497. local Effects = IT("Folder", Weapon)
  498. Effects.Name = "Effects"
  499. local ANIMATOR = Humanoid.Animator
  500. local ANIMATE = Character:FindFirstChild("Animate")
  501. local UNANCHOR = true
  502. local TOBANISH = {}
  503. script.Parent = PlayerGui
  504.  
  505. --//=================================\\
  506. --\\=================================//
  507.  
  508.  
  509. --//=================================\\
  510. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  511. --\\=================================//
  512.  
  513. ArtificialHB = Instance.new("BindableEvent", script)
  514. ArtificialHB.Name = "ArtificialHB"
  515.  
  516. script:WaitForChild("ArtificialHB")
  517.  
  518. frame = Frame_Speed
  519. tf = 0
  520. allowframeloss = false
  521. tossremainder = false
  522. lastframe = tick()
  523. script.ArtificialHB:Fire()
  524.  
  525. game:GetService("RunService").Heartbeat:connect(function(s, p)
  526. tf = tf + s
  527. if tf >= frame then
  528. if allowframeloss then
  529. script.ArtificialHB:Fire()
  530. lastframe = tick()
  531. else
  532. for i = 1, math.floor(tf / frame) do
  533. script.ArtificialHB:Fire()
  534. end
  535. lastframe = tick()
  536. end
  537. if tossremainder then
  538. tf = 0
  539. else
  540. tf = tf - frame * math.floor(tf / frame)
  541. end
  542. end
  543. end)
  544.  
  545. --//=================================\\
  546. --\\=================================//
  547.  
  548. --//=================================\\
  549. --|| SOME FUNCTIONS
  550. --\\=================================//
  551.  
  552. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  553. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  554. end
  555.  
  556. function PositiveAngle(NUMBER)
  557. if NUMBER >= 0 then
  558. NUMBER = 0
  559. end
  560. return NUMBER
  561. end
  562.  
  563. function NegativeAngle(NUMBER)
  564. if NUMBER <= 0 then
  565. NUMBER = 0
  566. end
  567. return NUMBER
  568. end
  569.  
  570. function Swait(NUMBER)
  571. if NUMBER == 0 or NUMBER == nil then
  572. ArtificialHB.Event:wait()
  573. else
  574. for i = 1, NUMBER do
  575. ArtificialHB.Event:wait()
  576. end
  577. end
  578. end
  579.  
  580. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  581. local NEWMESH = IT(MESH)
  582. if MESH == "SpecialMesh" then
  583. NEWMESH.MeshType = MESHTYPE
  584. if MESHID ~= "nil" and MESHID ~= "" then
  585. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  586. end
  587. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  588. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  589. end
  590. end
  591. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  592. NEWMESH.Scale = SCALE
  593. NEWMESH.Parent = PARENT
  594. return NEWMESH
  595. end
  596.  
  597. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  598. local NEWPART = IT("Part")
  599. NEWPART.formFactor = FORMFACTOR
  600. NEWPART.Reflectance = REFLECTANCE
  601. NEWPART.Transparency = TRANSPARENCY
  602. NEWPART.CanCollide = false
  603. NEWPART.Locked = true
  604. NEWPART.Anchored = true
  605. if ANCHOR == false then
  606. NEWPART.Anchored = false
  607. end
  608. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  609. NEWPART.Name = NAME
  610. NEWPART.Size = SIZE
  611. NEWPART.Position = Torso.Position
  612. NEWPART.Material = MATERIAL
  613. NEWPART:BreakJoints()
  614. NEWPART.Parent = PARENT
  615. return NEWPART
  616. end
  617.  
  618. local function weldBetween(a, b)
  619. local weldd = Instance.new("ManualWeld")
  620. weldd.Part0 = a
  621. weldd.Part1 = b
  622. weldd.C0 = CFrame.new()
  623. weldd.C1 = b.CFrame:inverse() * a.CFrame
  624. weldd.Parent = a
  625. return weldd
  626. end
  627.  
  628.  
  629. function QuaternionFromCFrame(cf)
  630. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  631. local trace = m00 + m11 + m22
  632. if trace > 0 then
  633. local s = math.sqrt(1 + trace)
  634. local recip = 0.5 / s
  635. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  636. else
  637. local i = 0
  638. if m11 > m00 then
  639. i = 1
  640. end
  641. if m22 > (i == 0 and m00 or m11) then
  642. i = 2
  643. end
  644. if i == 0 then
  645. local s = math.sqrt(m00 - m11 - m22 + 1)
  646. local recip = 0.5 / s
  647. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  648. elseif i == 1 then
  649. local s = math.sqrt(m11 - m22 - m00 + 1)
  650. local recip = 0.5 / s
  651. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  652. elseif i == 2 then
  653. local s = math.sqrt(m22 - m00 - m11 + 1)
  654. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  655. end
  656. end
  657. end
  658.  
  659. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  660. local xs, ys, zs = x + x, y + y, z + z
  661. local wx, wy, wz = w * xs, w * ys, w * zs
  662. local xx = x * xs
  663. local xy = x * ys
  664. local xz = x * zs
  665. local yy = y * ys
  666. local yz = y * zs
  667. local zz = z * zs
  668. 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))
  669. end
  670.  
  671. function QuaternionSlerp(a, b, t)
  672. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  673. local startInterp, finishInterp;
  674. if cosTheta >= 0.0001 then
  675. if (1 - cosTheta) > 0.0001 then
  676. local theta = ACOS(cosTheta)
  677. local invSinTheta = 1 / SIN(theta)
  678. startInterp = SIN((1 - t) * theta) * invSinTheta
  679. finishInterp = SIN(t * theta) * invSinTheta
  680. else
  681. startInterp = 1 - t
  682. finishInterp = t
  683. end
  684. else
  685. if (1 + cosTheta) > 0.0001 then
  686. local theta = ACOS(-cosTheta)
  687. local invSinTheta = 1 / SIN(theta)
  688. startInterp = SIN((t - 1) * theta) * invSinTheta
  689. finishInterp = SIN(t * theta) * invSinTheta
  690. else
  691. startInterp = t - 1
  692. finishInterp = t
  693. end
  694. end
  695. 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
  696. end
  697.  
  698. function Clerp(a, b, t)
  699. local qa = {QuaternionFromCFrame(a)}
  700. local qb = {QuaternionFromCFrame(b)}
  701. local ax, ay, az = a.x, a.y, a.z
  702. local bx, by, bz = b.x, b.y, b.z
  703. local _t = 1 - t
  704. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  705. end
  706.  
  707. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  708. local frame = IT("Frame")
  709. frame.BackgroundTransparency = TRANSPARENCY
  710. frame.BorderSizePixel = BORDERSIZEPIXEL
  711. frame.Position = POSITION
  712. frame.Size = SIZE
  713. frame.BackgroundColor3 = COLOR
  714. frame.BorderColor3 = BORDERCOLOR
  715. frame.Name = NAME
  716. frame.Parent = PARENT
  717. return frame
  718. end
  719.  
  720. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  721. local label = IT("TextLabel")
  722. label.BackgroundTransparency = 1
  723. label.Size = UD2(1, 0, 1, 0)
  724. label.Position = UD2(0, 0, 0, 0)
  725. label.TextColor3 = TEXTCOLOR
  726. label.TextStrokeTransparency = STROKETRANSPARENCY
  727. label.TextTransparency = TRANSPARENCY
  728. label.FontSize = TEXTFONTSIZE
  729. label.Font = TEXTFONT
  730. label.BorderSizePixel = BORDERSIZEPIXEL
  731. label.TextScaled = false
  732. label.Text = TEXT
  733. label.Name = NAME
  734. label.Parent = PARENT
  735. return label
  736. end
  737.  
  738. function NoOutlines(PART)
  739. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  740. end
  741.  
  742. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  743. local NEWWELD = IT(TYPE)
  744. NEWWELD.Part0 = PART0
  745. NEWWELD.Part1 = PART1
  746. NEWWELD.C0 = C0
  747. NEWWELD.C1 = C1
  748. NEWWELD.Parent = PARENT
  749. return NEWWELD
  750. end
  751.  
  752. local S = IT("Sound")
  753. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  754. local NEWSOUND = nil
  755. coroutine.resume(coroutine.create(function()
  756. NEWSOUND = S:Clone()
  757. NEWSOUND.Parent = PARENT
  758. NEWSOUND.Volume = VOLUME
  759. NEWSOUND.Pitch = PITCH
  760. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  761. NEWSOUND:play()
  762. if DOESLOOP == true then
  763. NEWSOUND.Looped = true
  764. else
  765. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  766. NEWSOUND:remove()
  767. end
  768. end))
  769. return NEWSOUND
  770. end
  771.  
  772. function CFrameFromTopBack(at, top, back)
  773. local right = top:Cross(back)
  774. 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)
  775. end
  776.  
  777. --WACKYEFFECT({EffectType = "", Size = VT(0,0,0), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  778. function WACKYEFFECT(Table)
  779. local TYPE = (Table.EffectType or "Sphere")
  780. local SIZE = (Table.Size or VT(0,0,0))
  781. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  782. local TRANSPARENCY = (Table.Transparency or 0)
  783. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  784. local CFRAME = (Table.CFrame or Torso.CFrame)
  785. local MOVEDIRECTION = (Table.MoveToPos or nil)
  786. local ROTATION1 = (Table.RotationX or 0)
  787. local ROTATION2 = (Table.RotationY or 0)
  788. local ROTATION3 = (Table.RotationZ or 0)
  789. local MATERIAL = (Table.Material or "Neon")
  790. local COLOR = (Table.Color or C3(0,1,0))
  791. local TIME = (Table.Time or 45)
  792. local SOUNDID = (Table.SoundID or nil)
  793. local SOUNDPITCH = (Table.SoundPitch or nil)
  794. local SOUNDVOLUME = (Table.SoundVolume or nil)
  795. coroutine.resume(coroutine.create(function()
  796. local PLAYSSOUND = false
  797. local SOUND = nil
  798. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("White"), "Effect", VT(1,1,1), true)
  799. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  800. PLAYSSOUND = true
  801. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  802. end
  803. EFFECT.Color = COLOR
  804. local MSH = nil
  805. if TYPE == "Sphere" then
  806. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  807. elseif TYPE == "Block" then
  808. MSH = IT("BlockMesh",EFFECT)
  809. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  810. elseif TYPE == "Wave" then
  811. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  812. elseif TYPE == "Ring" then
  813. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  814. elseif TYPE == "Slash" then
  815. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  816. elseif TYPE == "Round Slash" then
  817. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  818. elseif TYPE == "Swirl" then
  819. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  820. elseif TYPE == "Skull" then
  821. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  822. elseif TYPE == "Crystal" then
  823. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  824. end
  825. if MSH ~= nil then
  826. local MOVESPEED = nil
  827. if MOVEDIRECTION ~= nil then
  828. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  829. end
  830. local GROWTH = SIZE - ENDSIZE
  831. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  832. if TYPE == "Block" then
  833. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  834. else
  835. EFFECT.CFrame = CFRAME
  836. end
  837. for LOOP = 1, TIME+1 do
  838. Swait()
  839. MSH.Scale = MSH.Scale - GROWTH/TIME
  840. if TYPE == "Wave" then
  841. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  842. end
  843. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  844. if TYPE == "Block" then
  845. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  846. else
  847. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  848. end
  849. if MOVEDIRECTION ~= nil then
  850. local ORI = EFFECT.Orientation
  851. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  852. EFFECT.Orientation = ORI
  853. end
  854. end
  855. if PLAYSSOUND == false then
  856. EFFECT:remove()
  857. else
  858. SOUND.Stopped:Connect(function()
  859. EFFECT:remove()
  860. end)
  861. end
  862. else
  863. if PLAYSSOUND == false then
  864. EFFECT:remove()
  865. else
  866. repeat Swait() until SOUND.Playing == false
  867. EFFECT:remove()
  868. end
  869. end
  870. end))
  871. end
  872.  
  873. function MakeForm(PART,TYPE)
  874. if TYPE == "Cyl" then
  875. local MSH = IT("CylinderMesh",PART)
  876. elseif TYPE == "Ball" then
  877. local MSH = IT("SpecialMesh",PART)
  878. MSH.MeshType = "Sphere"
  879. elseif TYPE == "Wedge" then
  880. local MSH = IT("SpecialMesh",PART)
  881. MSH.MeshType = "Wedge"
  882. end
  883. end
  884.  
  885. function SpawnTrail(FROM,TO,BIG)
  886. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really white", "Trail", VT(1,1,1))
  887. MakeForm(TRAIL,"Cyl")
  888. local DIST = (FROM - TO).Magnitude
  889. if BIG == true then
  890. TRAIL.Size = VT(10,DIST,10)
  891. else
  892. TRAIL.Size = VT(10,DIST,10)
  893. end
  894. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  895. coroutine.resume(coroutine.create(function()
  896. for i = 1, 5 do
  897. Swait()
  898. TRAIL.Transparency = TRAIL.Transparency + 0.1
  899. end
  900. TRAIL:remove()
  901. end))
  902. end
  903.  
  904. Debris = game:GetService("Debris")
  905.  
  906. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  907. local DIRECTION = CF(StartPos,EndPos).lookVector
  908. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  909. end
  910.  
  911. function turnto(position)
  912. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  913. end
  914.  
  915. --//=================================\\
  916. --|| WEAPON CREATION
  917. --\\=================================//
  918. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.6,0.2),false)
  919. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  920. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.5,0.2),false)
  921. MakeForm(Part,"Wedge")
  922. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  923. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.3,0.2),false)
  924. MakeForm(Part,"Wedge")
  925. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  926. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.3,0.3),false)
  927. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  928. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.5,0.5),false)
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.4,0.4,0.4),false)
  931. MakeForm(Part,"Cyl")
  932. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  933. for i = 1, 8 do
  934. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Eye", VT(0,0.35,0.41),false)
  935. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  936. end
  937. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Eye", VT(0.38,0.41,0.38),false)
  938. MakeForm(Part,"Cyl")
  939. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  940. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.37,0.5,0.37),false)
  941. MakeForm(Part,"Ball")
  942. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  943. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.7,0.4),false)
  944. MakeForm(Part,"Wedge")
  945. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  946. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.3,0.4,0.2),false)
  947. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  948. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.35,0.35,0.35),false)
  949. MakeForm(Part,"Cyl")
  950. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  951. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.5,0.1,0.5),false)
  952. MakeForm(Part,"Cyl")
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.5,0.1,0.45),false)
  955. MakeForm(Part,"Cyl")
  956. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  957. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.2,0.5,0.2),false)
  958. MakeForm(Part,"Wedge")
  959. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  960. local LASTPART = Handle
  961. for i = 1, 10 do
  962. if LASTPART == Handle then
  963. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.1,0.2,0),false)
  964. LASTPART = Part
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  966. else
  967. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.1,0.05,0),false)
  968. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  969. LASTPART = Part
  970. end
  971. end
  972.  
  973. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.15,2,0.15),false)
  974. MakeForm(Barrel,"Cyl")
  975. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  976. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0.25,1,0.25),false)
  977. MakeForm(Part,"Cyl")
  978. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  979. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0,0.1,0.2),false)
  980. MakeForm(Part,"Wedge")
  981. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  982. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Eye", VT(0.125,0,0.125),false)
  983. MakeForm(Hole,"Cyl")
  984. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  985. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Lime green", "Part", VT(0,0,0),false)
  986. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  987. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  988. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Lime green", "Eye", VT(0,0,0),false)
  989. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  990. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  991. coroutine.resume(coroutine.create(function()
  992. while wait() do
  993. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  994. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  995. end
  996. end))
  997.  
  998.  
  999. for _, c in pairs(Weapon:GetDescendants()) do
  1000. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1001. c.Material = "Glass"
  1002. c.Color = C3(0,0,0)
  1003. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1004. c.Color = C3(1,1,1)
  1005. c.Material = "Neon"
  1006. end
  1007. end
  1008. local BODY = {}
  1009. for _, c in pairs(Character:GetDescendants()) do
  1010. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1011. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1012. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1013. end
  1014. table.insert(BODY, {
  1015. c,
  1016. c.Parent,
  1017. c.Material,
  1018. c.Color,
  1019. c.Transparency
  1020. })
  1021. elseif c:IsA("JointInstance") then
  1022. table.insert(BODY, {
  1023. c,
  1024. c.Parent,
  1025. nil,
  1026. nil,
  1027. nil
  1028. })
  1029. end
  1030. end
  1031. for e = 1, #BODY do
  1032. if BODY[e] ~= nil then
  1033. do
  1034. local STUFF = BODY[e]
  1035. local PART = STUFF[1]
  1036. local PARENT = STUFF[2]
  1037. local MATERIAL = STUFF[3]
  1038. local COLOR = STUFF[4]
  1039. local TRANSPARENCY = STUFF[5]
  1040. if PART.ClassName == "Part" and PART ~= RootPart then
  1041. PART.Material = MATERIAL
  1042. PART.Color = COLOR
  1043. PART.Transparency = TRANSPARENCY
  1044. end
  1045. PART.AncestryChanged:Connect(function()
  1046. PART.Parent = PARENT
  1047. end)
  1048. end
  1049. end
  1050. end
  1051. function refit()
  1052. Character.Parent = workspace
  1053. for e = 1, #BODY do
  1054. if BODY[e] ~= nil then
  1055. local STUFF = BODY[e]
  1056. local PART = STUFF[1]
  1057. local PARENT = STUFF[2]
  1058. local MATERIAL = STUFF[3]
  1059. local COLOR = STUFF[4]
  1060. local TRANSPARENCY = STUFF[5]
  1061. if PART:IsA("BasePart") and PART ~= RootPart then
  1062. PART.Material = MATERIAL
  1063. PART.Color = COLOR
  1064. PART.Transparency = TRANSPARENCY
  1065. end
  1066. if PART.Parent ~= PARENT then
  1067. Humanoid:remove()
  1068. PART.Parent = PARENT
  1069. Humanoid = IT("Humanoid", Character)
  1070. end
  1071. end
  1072. end
  1073. end
  1074. Humanoid.Died:connect(function()
  1075. refit()
  1076. end)
  1077. Weapon.Parent = Character
  1078. for _, c in pairs(Weapon:GetChildren()) do
  1079. if c.ClassName == "Part" then
  1080. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1081. end
  1082. end
  1083. local SKILLTEXTCOLOR = C3(1,1,1)
  1084. local SKILLFONT = "Arcade"
  1085. local SKILLTEXTSIZE = 6
  1086.  
  1087. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1088. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1089. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1090. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1091. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1092. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.100, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1093.  
  1094. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Banish", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1095. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[F] Gates", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1096. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[T] Taunt", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1097. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Talk", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1098. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Switch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1099. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[Q] Teleport", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 6")
  1100. local MODE = "nuclear"
  1101. local CLOCKSPEED = 1.5
  1102. function printbye(Name)
  1103. local MESSAGES = {"BEGONE! "}
  1104. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1105. end
  1106. if Player.name == "jimppa123567, kuba113454677" then
  1107. warn("Hoiiiiii!! Luv u message made by Jimmblox151 (Ur friend :3)")
  1108. end
  1109.  
  1110. workspace.ChildAdded:connect(function(instance)
  1111. for BANISH = 1, #TOBANISH do
  1112. if TOBANISH[BANISH] ~= nil then
  1113. if instance.Name == TOBANISH[BANISH] then
  1114. coroutine.resume(coroutine.create(function()
  1115. printbye(instance.Name)
  1116. instance:ClearAllChildren()
  1117. Debris:AddItem(instance,0.0005)
  1118. end))
  1119. end
  1120. end
  1121. end
  1122. end)
  1123.  
  1124. --//=================================\\
  1125. --|| DAMAGING
  1126. --\\=================================//
  1127.  
  1128. function Banish(Foe)
  1129. if Foe then
  1130. coroutine.resume(coroutine.create(function()
  1131. --if game.Players:FindFirstChild(Foe.Name) then
  1132. table.insert(TOBANISH,Foe.Name)
  1133. printbye(Foe.Name)
  1134. --end
  1135. Foe.Archivable = true
  1136. local CLONE = Foe:Clone()
  1137. Foe:Destroy()
  1138. CLONE.Parent = Effects
  1139. CLONE:BreakJoints()
  1140. local MATERIALS = {"Glass","Neon"}
  1141. for _, c in pairs(CLONE:GetDescendants()) do
  1142. if c:IsA("BasePart") then
  1143. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1144. CreateSound(0, c, 15, 1.1, false)
  1145. end
  1146. c.Anchored = true
  1147. c.Transparency = c.Transparency + 0.
  1148. c.Material = MATERIALS[MRANDOM(1,2)]
  1149. c.Color = C3(1,1,1)
  1150. if c.ClassName == "MeshPart" then
  1151. c.TextureID = ""
  1152. end
  1153. if c:FindFirstChildOfClass("SpecialMesh") then
  1154. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1155. end
  1156. if c:FindFirstChildOfClass("Decal") then
  1157. c:FindFirstChildOfClass("Decal"):remove()
  1158. end
  1159. c.Name = "Banish"
  1160. c.CanCollide = false
  1161. else
  1162. c:remove()
  1163. end
  1164. end
  1165. local A = false
  1166. for i = 1, 35 do
  1167. if A == false then
  1168. A = true
  1169. elseif A == true then
  1170. A = false
  1171. end
  1172. for _, c in pairs(CLONE:GetDescendants()) do
  1173. if c:IsA("BasePart") then
  1174. c.Anchored = true
  1175. c.Material = MATERIALS[MRANDOM(1,2)]
  1176. c.Transparency = c.Transparency + 0.8/35
  1177. if A == false then
  1178. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1179. elseif A == true then
  1180. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1181. end
  1182. end
  1183. end
  1184. Swait()
  1185. end
  1186. CLONE:remove()
  1187. end))
  1188. end
  1189. end
  1190.  
  1191. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1192. local CHILDREN = workspace:GetDescendants()
  1193. for index, CHILD in pairs(CHILDREN) do
  1194. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1195. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1196. if HUM then
  1197. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1198. if TORSO then
  1199. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1200. if ISBANISH == true then
  1201. Banish(CHILD)
  1202. else
  1203. if ISBANISH == "Gravity" then
  1204. HUM.PlatformStand = true
  1205. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1206. local grav = Instance.new("BodyPosition",TORSO)
  1207. grav.D = 15
  1208. grav.P = 10000
  1209. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1210. grav.position = TORSO.Position
  1211. grav.Name = "V3BanishForce"..Player.Name
  1212. else
  1213. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1214. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1215. end
  1216. else
  1217. HUM.PlatformStand = false
  1218. end
  1219. end
  1220. elseif ISBANISH == "Gravity" then
  1221. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1222. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1223. HUM.PlatformStand = false
  1224. end
  1225. end
  1226. end
  1227. end
  1228. end
  1229. end
  1230. end
  1231.  
  1232. --//=================================\\
  1233. --|| ATTACK FUNCTIONS AND STUFF
  1234. --\\=================================//
  1235.  
  1236. function BANISH_SHOT()
  1237. ATTACK = true
  1238. Rooted = false
  1239. for i=0, 0.05, 0.3 / Animation_Speed do
  1240. Swait()
  1241. turnto(Mouse.Hit.p)
  1242. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1243. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1244. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1245. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1246. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1247. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1248. end
  1249. repeat
  1250. for i=0, 0.05, 0.3 / Animation_Speed do
  1251. Swait()
  1252. turnto(Mouse.Hit.p)
  1253. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1254. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1255. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1256. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1257. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1258. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1259. end
  1260. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1261. SpawnTrail(Hole.Position,POS)
  1262. if HIT ~= nil then
  1263. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1264. Banish(HIT.Parent)
  1265. end
  1266. end
  1267. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1268. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 1674017283, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1269. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1270. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 5})
  1271. for i=0, 0.05, 0.3 / Animation_Speed do
  1272. Swait()
  1273. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1274. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1275. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1276. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1277. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1278. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1279. end
  1280. until KEYHOLD == false
  1281. ATTACK = false
  1282. Rooted = false
  1283. end
  1284.  
  1285. function TAUNT()
  1286. ATTACK = true
  1287. Rooted = true
  1288. local TAUNT = CreateSound(314568939,Torso,15,1.1,false)
  1289. coroutine.resume(coroutine.create(function()
  1290. repeat
  1291. Swait()
  1292. 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)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1298. until ATTACK == false
  1299. end))
  1300. repeat wait() until TAUNT.Playing == false
  1301. ATTACK = false
  1302. Rooted = false
  1303. end
  1304.  
  1305. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Really black", "Eye", VT(0.2,0,0.2),false)
  1306. MakeForm(RightHole,"Cyl")
  1307. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Lime green", "Eye", VT(0.2,0,0.2),false)
  1308. MakeForm(LeftHole,"Cyl")
  1309. function Nuclear_gates()
  1310. chatfunc("Try surviving this..")
  1311. CreateSound(0, Torso, 10, 1, false)
  1312. ATTACK = true
  1313. Rooted = true
  1314. for i=0, 0.5, 0.1 / Animation_Speed do
  1315. Swait()
  1316. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1317. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1318. end
  1319. for i=0, 0.5, 0.1 / Animation_Speed do
  1320. Swait()
  1321. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1322. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1323. end
  1324. for i=0, 0.1, 0.1 / Animation_Speed do
  1325. Swait()
  1326. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1327. end
  1328. local DONE = false
  1329. local GATE = nil
  1330. local GATESPIN = true
  1331. coroutine.resume(coroutine.create(function()
  1332. repeat
  1333. Swait()
  1334. if GATE ~= nil then
  1335. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  1336. end
  1337. until GATESPIN == false
  1338. end))
  1339. coroutine.resume(coroutine.create(function()
  1340. repeat
  1341. Swait()
  1342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1343. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1344. until DONE == true
  1345. Swait(50)
  1346. for i = 1, 35 do
  1347. Swait(4)
  1348. local FIRED = false
  1349. local CHILDREN = workspace:GetDescendants()
  1350. for index, CHILD in pairs(CHILDREN) do
  1351. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1352. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1353. if HUM then
  1354. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1355. if TORSO then
  1356. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1357. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1358. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1359. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1360. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1361. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1362. Banish(CHILD)
  1363. FIRED = true
  1364. break
  1365. end
  1366. end
  1367. end
  1368. end
  1369. end
  1370. if FIRED == false then
  1371. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1372. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1373. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1374. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1375. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1376. if HITBOD ~= nil then
  1377. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1378. Banish(HITBOD.Parent)
  1379. end
  1380. end
  1381. end
  1382. end
  1383. for i = 1, 35 do
  1384. Swait(4)
  1385. local FIRED = false
  1386. local CHILDREN = workspace:GetDescendants()
  1387. for index, CHILD in pairs(CHILDREN) do
  1388. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1389. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1390. if HUM then
  1391. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1392. if TORSO then
  1393. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1394. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1395. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1396. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1397. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1398. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1399. Banish(CHILD)
  1400. FIRED = true
  1401. break
  1402. end
  1403. end
  1404. end
  1405. end
  1406. end
  1407. if FIRED == false then
  1408. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1409. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1410. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1411. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1412. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1413. if HITBOD ~= nil then
  1414. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1415. Banish(HITBOD.Parent)
  1416. end
  1417. end
  1418. end
  1419. end
  1420. for i = 1, 35 do
  1421. Swait(4)
  1422. local FIRED = false
  1423. local CHILDREN = workspace:GetDescendants()
  1424. for index, CHILD in pairs(CHILDREN) do
  1425. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1426. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1427. if HUM then
  1428. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1429. if TORSO then
  1430. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1431. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1432. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1433. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1434. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1435. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1436. Banish(CHILD)
  1437. FIRED = true
  1438. break
  1439. end
  1440. end
  1441. end
  1442. end
  1443. end
  1444. if FIRED == false then
  1445. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1446. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1447. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1448. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1449. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1450. if HITBOD ~= nil then
  1451. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1452. Banish(HITBOD.Parent)
  1453. end
  1454. end
  1455. end
  1456. end
  1457. for i = 1, 35 do
  1458. Swait(4)
  1459. local FIRED = false
  1460. local CHILDREN = workspace:GetDescendants()
  1461. for index, CHILD in pairs(CHILDREN) do
  1462. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1463. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1464. if HUM then
  1465. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1466. if TORSO then
  1467. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1468. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1469. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1470. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1471. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1472. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1473. Banish(CHILD)
  1474. FIRED = true
  1475. break
  1476. end
  1477. end
  1478. end
  1479. end
  1480. end
  1481. if FIRED == false then
  1482. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1483. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1484. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1485. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1486. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1487. if HITBOD ~= nil then
  1488. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1489. Banish(HITBOD.Parent)
  1490. end
  1491. end
  1492. end
  1493. end
  1494. for i = 1, 35 do
  1495. Swait(4)
  1496. local FIRED = false
  1497. local CHILDREN = workspace:GetDescendants()
  1498. for index, CHILD in pairs(CHILDREN) do
  1499. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1500. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1501. if HUM then
  1502. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1503. if TORSO then
  1504. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1505. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1506. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1507. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1508. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1509. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1510. Banish(CHILD)
  1511. FIRED = true
  1512. break
  1513. end
  1514. end
  1515. end
  1516. end
  1517. end
  1518. if FIRED == false then
  1519. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1520. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1521. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1522. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1523. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1524. if HITBOD ~= nil then
  1525. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1526. Banish(HITBOD.Parent)
  1527. end
  1528. end
  1529. end
  1530. end
  1531. for i = 1, 35 do
  1532. Swait(4)
  1533. local FIRED = false
  1534. local CHILDREN = workspace:GetDescendants()
  1535. for index, CHILD in pairs(CHILDREN) do
  1536. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1537. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1538. if HUM then
  1539. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1540. if TORSO then
  1541. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1542. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1543. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1544. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1545. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1546. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1547. Banish(CHILD)
  1548. FIRED = true
  1549. break
  1550. end
  1551. end
  1552. end
  1553. end
  1554. end
  1555. if FIRED == false then
  1556. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1557. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1558. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1559. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1560. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1561. if HITBOD ~= nil then
  1562. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1563. Banish(HITBOD.Parent)
  1564. end
  1565. end
  1566. end
  1567. end
  1568. for i = 1, 35 do
  1569. Swait(4)
  1570. local FIRED = false
  1571. local CHILDREN = workspace:GetDescendants()
  1572. for index, CHILD in pairs(CHILDREN) do
  1573. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1574. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1575. if HUM then
  1576. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1577. if TORSO then
  1578. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1579. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1580. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1581. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1582. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1583. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1584. Banish(CHILD)
  1585. FIRED = true
  1586. break
  1587. end
  1588. end
  1589. end
  1590. end
  1591. end
  1592. if FIRED == false then
  1593. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1594. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1595. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1596. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1597. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1598. if HITBOD ~= nil then
  1599. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1600. Banish(HITBOD.Parent)
  1601. end
  1602. end
  1603. end
  1604. end
  1605. for i = 1, 35 do
  1606. Swait(4)
  1607. local FIRED = false
  1608. local CHILDREN = workspace:GetDescendants()
  1609. for index, CHILD in pairs(CHILDREN) do
  1610. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1611. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1612. if HUM then
  1613. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1614. if TORSO then
  1615. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  1616. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1617. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1618. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1619. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1620. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  1621. Banish(CHILD)
  1622. FIRED = true
  1623. break
  1624. end
  1625. end
  1626. end
  1627. end
  1628. end
  1629. if FIRED == false then
  1630. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  1631. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = 163064102, SoundPitch = 1, SoundVolume = 10})
  1632. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(36,0,36), Size2 = VT(16,8,16), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1633. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  1634. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  1635. if HITBOD ~= nil then
  1636. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  1637. Banish(HITBOD.Parent)
  1638. end
  1639. end
  1640. end
  1641. end
  1642. for i = 1, 45 do
  1643. Swait()
  1644. GATE.Size = GATE.Size - VT(100,0,100)
  1645. end
  1646. GATESPIN = false
  1647. GATE:remove()
  1648. end))
  1649. Swait(15)
  1650. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1651. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Black", "Gate", VT(0,0,0))
  1652. local DECAL = IT("Decal",GATE)
  1653. DECAL.Texture = "http://www.roblox.com/asset/?id=26533946"
  1654. DECAL.Face = "Top"
  1655. GATE.CFrame = CF(HITPOS)
  1656. CreateSound(0, GATE, 7, 1.3, false)
  1657. for i = 1, 45 do
  1658. Swait()
  1659. GATE.Size = GATE.Size + VT(16,0,16)
  1660. end
  1661. CreateSound(213603013, RightHole, 7, 1, false)
  1662. CreateSound(213603013, LeftHole, 7, 1, false)
  1663. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1664. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(16,0,16), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1665. ATTACK = false
  1666. Rooted = false
  1667. DONE = true
  1668. end
  1669.  
  1670. Player_Size = 1
  1671. function SwItCh()
  1672. ATTACK = true
  1673. Rooted = true
  1674. if MODE == "nuclear" then
  1675. for i=0, 0.5, 0.1 / Animation_Speed do
  1676. Swait()
  1677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1679. end
  1680. for i=0, 0.5, 0.1 / Animation_Speed do
  1681. Swait()
  1682. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1683. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1684. end
  1685. for i=0, 0.1, 0.1 / Animation_Speed do
  1686. Swait()
  1687. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1688. end
  1689. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really white").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1690.  
  1691. for i=0, 0.01, 0.1 / Animation_Speed do
  1692. Swait()
  1693. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1694. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1695. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1696. end
  1697. sick.SoundId = "rbxassetid://319639950"
  1698. sick.Pitch = 0.99
  1699. CLOCKSPEED = 0.3
  1700. tecks.Text = "TRUE BANISH!??"
  1701. MODE = ""
  1702. elseif MODE == "" then
  1703. CreateSound(147722227, Torso, 4, 1.3, false)
  1704. for i=0, 0.5, 0.1 / Animation_Speed do
  1705. Swait()
  1706. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1708. end
  1709. for i=0, 0.5, 0.1 / Animation_Speed do
  1710. Swait()
  1711. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1712. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1713. end
  1714. for i=0, 0.1, 0.1 / Animation_Speed do
  1715. Swait()
  1716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1717. end
  1718. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BrickColor.new("Really white").Color, SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1719. sick.SoundId = "rbxassetid://1502515158"
  1720. CLOCKSPEED = 37
  1721. tecks.Text = "Dark Banish"
  1722. MODE = "nuclear"
  1723. end
  1724. ATTACK = false
  1725. Rooted = false
  1726. end
  1727.  
  1728. function AttackTemplate()
  1729. ATTACK = true
  1730. Rooted = false
  1731. for i=0, 1, 0.1 / Animation_Speed do
  1732. Swait()
  1733. 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)
  1734. 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)
  1735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1737. 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.1 / Animation_Speed)
  1738. 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.1 / Animation_Speed)
  1739. end
  1740. ATTACK = false
  1741. Rooted = false
  1742. end
  1743.  
  1744. --//=================================\\
  1745. --|| ASSIGN THINGS TO KEYS
  1746. --\\=================================//
  1747.  
  1748. function MouseDown(Mouse)
  1749. if ATTACK == false then
  1750. end
  1751. end
  1752.  
  1753. function MouseUp(Mouse)
  1754. HOLD = false
  1755. end
  1756.  
  1757. function KeyDown(Key)
  1758. KEYHOLD = true
  1759. if Key == "z" and ATTACK == false then
  1760. BANISH_SHOT()
  1761. end
  1762.  
  1763. if Key == "f" and ATTACK == false then
  1764. Nuclear_gates()
  1765. end
  1766.  
  1767. if Key == "v" and ATTACK == false then
  1768. chatfunc("Dark.")
  1769. wait(2)
  1770. chatfunc("Alone.")
  1771. TOBANISH = {}
  1772. end
  1773.  
  1774. if Key == "q" and ATTACK == false then
  1775. for i=0, 0.5, 0.1 / Animation_Speed do
  1776. Swait()
  1777. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1778. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1779. end
  1780. local pos = RootPart.Position
  1781. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos)
  1782. CreateSound("289556450", Torso, 30, 1)
  1783. end
  1784.  
  1785. if Key == "t" and ATTACK == false then
  1786. TAUNT()
  1787. end
  1788.  
  1789. if Key == "p" and ATTACK == false then
  1790. SwItCh()
  1791. end
  1792. end
  1793.  
  1794. function KeyUp(Key)
  1795. KEYHOLD = false
  1796. end
  1797.  
  1798. Mouse.Button1Down:connect(function(NEWKEY)
  1799. MouseDown(NEWKEY)
  1800. end)
  1801. Mouse.Button1Up:connect(function(NEWKEY)
  1802. MouseUp(NEWKEY)
  1803. end)
  1804. Mouse.KeyDown:connect(function(NEWKEY)
  1805. KeyDown(NEWKEY)
  1806. end)
  1807. Mouse.KeyUp:connect(function(NEWKEY)
  1808. KeyUp(NEWKEY)
  1809. end)
  1810.  
  1811. --//=================================\\
  1812. --\\=================================//
  1813.  
  1814.  
  1815. function unanchor()
  1816. if UNANCHOR == true then
  1817. g = Character:GetChildren()
  1818. for i = 1, #g do
  1819. if g[i].ClassName == "Part" then
  1820. g[i].Anchored = false
  1821. end
  1822. end
  1823. end
  1824. end
  1825.  
  1826.  
  1827. --//=================================\\
  1828. --|| WRAP THE WHOLE SCRIPT UP
  1829. --\\=================================//
  1830.  
  1831. Humanoid.Changed:connect(function(Jump)
  1832. if Jump == "Jump" and (Disable_Jump == true) then
  1833. Humanoid.Jump = false
  1834. end
  1835. end)
  1836.  
  1837. local CONNECT = nil
  1838.  
  1839. while true do
  1840. Swait()
  1841. ANIMATE.Parent = nil
  1842. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1843. Humanoid = IT("Humanoid",Character)
  1844. end
  1845. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1846. v:Stop();
  1847. end
  1848. SINE = SINE + CHANGE
  1849. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1850. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1851. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1852. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1853. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1854. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1855. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1856. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1857. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1858. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1859. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1860. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1861. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1862. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1863. end
  1864. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1865. ANIM = "Jump"
  1866. if ATTACK == false then
  1867. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1868. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1871. 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)
  1872. 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)
  1873. end
  1874. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1875. ANIM = "Fall"
  1876. if ATTACK == false then
  1877. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1878. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1881. 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)
  1882. 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)
  1883. end
  1884. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1885. ANIM = "Idle"
  1886. if ATTACK == false then
  1887. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(-75), RAD(45), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1891. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1892. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1893. end
  1894. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1895. ANIM = "Walk"
  1896. if ATTACK == false then
  1897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1901. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1903. end
  1904. end
  1905. unanchor()
  1906. refit()
  1907. Humanoid.MaxHealth = 9000
  1908. Humanoid.Health = 9000
  1909. if Rooted == false then
  1910. Disable_Jump = false
  1911. Humanoid.WalkSpeed = Speed
  1912. elseif Rooted == true then
  1913. Disable_Jump = true
  1914. Humanoid.WalkSpeed = 0
  1915. end
  1916. end
  1917.  
  1918. --//=================================\\
  1919. --\\=================================//
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925. --//====================================================\\--
  1926. --|| END OF SCRIPT
  1927. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement