Advertisement
Guest User

Virus deo

a guest
Oct 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.48 KB | None | 0 0
  1. --[[
  2. FilteringEnabled Script Bar
  3.  
  4. Run non-fe compatable scripts under Mokorios's compability code.
  5. It should be compatible with most scripts, but if you encounter issues make sure to let Mokorios know.
  6.  
  7. The FE Compatibility code can be found at:
  8. https://github.com/Mokiros/roblox-FE-compatibility.
  9. --]]
  10. if not script:IsA("LocalScript") then
  11. error(">> This script is being run as a server-sided script (or modulescript?) instead of a localscript.\nYou'll need to run it as a localscript, with hl/(url).<<")
  12. end
  13.  
  14. if not NS then
  15. NS = function() end
  16. end
  17.  
  18. services = setmetatable({}, {
  19. __index = function(self, k, ...)
  20. return game:GetService(k)
  21. end})
  22.  
  23. local plr = services.Players.LocalPlayer
  24. print("Credit to Mokiros for his FE Compatibility script.\nThis project wouldn't be possible without him.\n")
  25. print("You can obtain a copy of his code for his FE compatability at https://github.com/Mokiros/roblox-FE-compatibility.\n")
  26. print("You may also obtain a copy of his licence at https://raw.githubusercontent.com/Mokiros/roblox-FE-compatibility/master/LICENSE.\n")
  27. print("All of the source code in exception to his compatability code is in the public domain, and was made by TheFlamingBlaster.")
  28.  
  29. local fecompat = [[
  30. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  31. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  32. local RealPlayer = Player
  33. do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end]]
  34.  
  35. NS([[
  36. wait(1)
  37. local requestHandlers = {
  38. ["HttpGet"] = function(client, url, cache)
  39. return game:GetService"HttpService":GetAsync(url, cache or true)
  40. end,
  41. ["GetDataStore"] = function(client, ds, key)
  42. local ds = game:GetService"DataStoreService":GetDataStore(ds):GetAsync(key)
  43. end,
  44. ["SetDataStore"] = function(client, ds, key, newval)
  45. local ds = game:GetService"DataStoreService":GetDataStore(ds):SetAsync(key, newval)
  46. end
  47. }
  48.  
  49.  
  50. local generateRemote
  51. generateRemote = function()
  52. local remote = Instance.new("RemoteFunction")
  53. remote.Name = getfenv().owner.Name.." : Coms"
  54.  
  55. remote.OnServerInvoke = function(client, request, ...)
  56. if requestHandlers[request] then
  57. return requestHandlers[request](client, ...)
  58. end
  59. end
  60.  
  61. remote.Parent = workspace
  62.  
  63. remote.AncestryChanged:Connect(function()
  64. delay(0.03, function()
  65. if remote then
  66. remote:Destroy()
  67. end
  68. end)
  69. generateRemote()
  70. end)
  71. end
  72.  
  73.  
  74. generateRemote()
  75. ]], workspace)
  76.  
  77. local remote = workspace:FindFirstChild(plr.Name..": Coms") or workspace:WaitForChild(plr.Name.." : Coms")
  78.  
  79. -- Objects
  80.  
  81. local FEBar = Instance.new("ScreenGui")
  82. local BG = Instance.new("Frame")
  83. local TextLabel = Instance.new("TextLabel")
  84. local Exit = Instance.new("TextButton")
  85. local UrlBar = Instance.new("TextBox")
  86. local TextLabel_2 = Instance.new("TextLabel")
  87.  
  88. -- Properties
  89.  
  90. FEBar.Name = "FEBar"
  91.  
  92. BG.Name = "BG"
  93. BG.Parent = FEBar
  94. BG.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  95. BG.BorderSizePixel = 0
  96. BG.Position = UDim2.new(0.720785916, 0, 0.897717714, 0)
  97. BG.Size = UDim2.new(0.279214054, 0, 0.10228233, 0)
  98.  
  99. TextLabel.Parent = BG
  100. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  101. TextLabel.BackgroundTransparency = 1
  102. TextLabel.Size = UDim2.new(0.683333337, 0, 0.201834857, 0)
  103. TextLabel.Font = Enum.Font.SourceSansSemibold
  104. TextLabel.FontSize = Enum.FontSize.Size14
  105. TextLabel.Text = "FE Command Bar"
  106. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  107. TextLabel.TextScaled = true
  108. TextLabel.TextWrapped = true
  109. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  110.  
  111. Exit.Name = "Exit"
  112. Exit.Parent = BG
  113. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  114. Exit.BackgroundTransparency = 1
  115. Exit.Position = UDim2.new(0.899999976, 0, 0, 0)
  116. Exit.Size = UDim2.new(0.100000001, 0, 0.206422016, 0)
  117. Exit.Font = Enum.Font.SourceSans
  118. Exit.FontSize = Enum.FontSize.Size14
  119. Exit.Text = "X"
  120. Exit.TextColor3 = Color3.new(1, 0, 0)
  121. Exit.TextScaled = true
  122. Exit.TextWrapped = true
  123.  
  124. UrlBar.Name = "UrlBar"
  125. UrlBar.Parent = BG
  126. UrlBar.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  127. UrlBar.BorderSizePixel = 0
  128. UrlBar.Position = UDim2.new(0, 0, 0.247933879, 0)
  129. UrlBar.Size = UDim2.new(1, 0, 0.504132211, 0)
  130. UrlBar.Font = Enum.Font.SourceSans
  131. UrlBar.FontSize = Enum.FontSize.Size14
  132. UrlBar.Text = ""
  133. UrlBar.TextColor3 = Color3.new(0, 0, 0)
  134. UrlBar.TextScaled = true
  135. UrlBar.TextWrapped = true
  136. UrlBar.TextXAlignment = Enum.TextXAlignment.Left
  137.  
  138. TextLabel_2.Parent = BG
  139. TextLabel_2.BackgroundColor3 = Color3.new(1, 0, 0)
  140. TextLabel_2.BackgroundTransparency = 1
  141. TextLabel_2.Position = UDim2.new(0, 0, 0.834710777, 0)
  142. TextLabel_2.Size = UDim2.new(1, 0, 0.165289253, 0)
  143. TextLabel_2.Font = Enum.Font.SourceSansSemibold
  144. TextLabel_2.FontSize = Enum.FontSize.Size14
  145. TextLabel_2.Text = "Click the black box above, paste in your link and press \"Enter\" to run your script."
  146. TextLabel_2.TextColor3 = Color3.new(1, 0, 0)
  147. TextLabel_2.TextScaled = true
  148. TextLabel_2.TextWrapped = true
  149. TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  150.  
  151. Exit.MouseButton1Click:Connect(function()
  152. FEBar:Destroy()
  153. script.Disabled = true
  154. end)
  155.  
  156. local curtext = ""
  157.  
  158. UrlBar.Changed:Connect(function()
  159. if not UrlBar.Text:match("#") then
  160. curtext = UrlBar.Text
  161. end
  162. end)
  163.  
  164. UrlBar.FocusLost:Connect(function(e)
  165. if e == true then
  166. if curtext:sub(1, 3) == "hl/" then
  167. UrlBar.Text = curtext:sub(3)
  168. end
  169. if curtext:sub(1, 2) == "h/" then
  170. UrlBar.Text = curtext:sub(2)
  171. end
  172. NS(fecompat.." "..remote:InvokeServer("HttpGet", curtext), workspace)
  173. print("Running "..curtext)
  174. end
  175. end)
  176.  
  177. FEBar.Parent = plr:FindFirstChildOfClass"PlayerGui"
  178. local Player = game:service'Players':GetPlayerFromCharacter(script.Parent)
  179. if Player then
  180. local Owner = script.Owner
  181. Owner.Value = Owner.Value
  182. Owner:Destroy()
  183. local FakeMouse = script.FakeMouse:Clone();
  184. FakeMouse.Parent = Player.Character;
  185. script.FakeMouse:Destroy()
  186. do
  187. local GUID = {}
  188. do
  189. GUID.IDs = {};
  190. function GUID:new(len)
  191. local id;
  192. if(not len)then
  193. id = (tostring(function() end))
  194. id = id:gsub("function: ","")
  195. else
  196. local function genID(len)
  197. local newID = ""
  198. for i = 1,len do
  199. newID = newID..string.char(math.random(48,90))
  200. end
  201. return newID
  202. end
  203. repeat id = genID(len) until not GUID.IDs[id]
  204. local oid = id;
  205. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  206. GUID.IDs[oid]=true;
  207. end
  208. return id
  209. end
  210. end
  211.  
  212. local AHB = Instance.new("BindableEvent")
  213.  
  214. local FPS = 30
  215.  
  216. local TimeFrame = 0
  217.  
  218. local LastFrame = tick()
  219. local Frame = 1/FPS
  220.  
  221. game:service'RunService'.Heartbeat:connect(function(s,p)
  222. TimeFrame = TimeFrame + s
  223. if(TimeFrame >= Frame)then
  224. for i = 1,math.floor(TimeFrame/Frame) do
  225. AHB:Fire()
  226. end
  227. LastFrame=tick()
  228. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  229. end
  230. end)
  231.  
  232.  
  233. function swait(dur)
  234. if(dur == 0 or typeof(dur) ~= 'number')then
  235. AHB.Event:wait()
  236. else
  237. for i = 1, dur*FPS do
  238. AHB.Event:wait()
  239. end
  240. end
  241. end
  242.  
  243. local oPlayer = Player
  244. local Player = oPlayer
  245.  
  246. local loudnesses={}
  247. script.Parent = Player.Character
  248. local CoAS = {Actions={}}
  249. local Event = Instance.new("RemoteEvent")
  250. Event.Name = "UserInputEvent"
  251. Event.Parent = Player.Character
  252. local Func = Instance.new("RemoteFunction")
  253. Func.Name = "GetClientProperty"
  254. Func.Parent = Player.Character
  255. local fakeEvent = function()
  256. local t = {_fakeEvent=true,Waited={},Connected={}}
  257. t.Connect = function(self,f)
  258. local ft={}
  259. ft={Disconnected=false;disconnect=function(s) if(self.Function==ft)then self.Function=nil end s.Disconnected=true end}
  260. ft.Disconnect=ft.disconnect
  261.  
  262. ft.Func=function(...)
  263. for id,_ in next, t.Waited do
  264. t.Waited[id] = true
  265. end
  266. return f(...)
  267. end;
  268.  
  269. table.insert(self.Connected,ft)
  270. return ft;
  271. end
  272. t.connect = t.Connect
  273. t.Wait = function()
  274. local guid = GUID:new(25)
  275. local waitingId = guid:Get()
  276. t.Waited[waitingId]=false
  277. repeat swait() until t.Waited[waitingId]==true
  278. t.Waited[waitingId]=nil;
  279. guid:Trash()
  280. end
  281. t.wait = t.Wait
  282. return t
  283. end
  284. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  285. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  286. local Run = {RenderStepped=fakeEvent()}
  287.  
  288. function CoAS:BindAction(name,fun,touch,...)
  289. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  290. end
  291. function CoAS:UnbindAction(name)
  292. CoAS.Actions[name] = nil
  293. end
  294. local function te(self,ev,...)
  295. local t = self[ev]
  296. if t and t._fakeEvent and t.Connected then
  297. for i,v in next, t.Connected do
  298. if(v.Func and not v.Disconnected)then
  299. v.Func(...)
  300. else
  301. t.Connected[i]=nil
  302. end
  303. end
  304. end
  305. end
  306. m.TrigEvent = te
  307. UsIS.TrigEvent = te
  308. Run.TrigEvent = te
  309. Event.OnServerEvent:Connect(function(plr,io)
  310. if plr~=Player then return end
  311. --[[table.foreach(io,print)
  312. print'---']]
  313. if io.Mouse then
  314. m.Target = io.Target
  315. m.Hit = io.Hit
  316. elseif io.KeyEvent then
  317. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  318. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  319. if io.UserInputState == Enum.UserInputState.Begin then
  320. m:TrigEvent("Button1Down")
  321. else
  322. m:TrigEvent("Button1Up")
  323. end
  324. end
  325. if(not io.KeyEvent and not io.Mouse)then
  326.  
  327. for n,t in pairs(CoAS.Actions) do
  328. for _,k in pairs(t.Keys) do
  329. if k==io.KeyCode then
  330. t.Function(t.Name,io.UserInputState,io)
  331. end
  332. end
  333. end
  334. if io.UserInputState == Enum.UserInputState.Begin then
  335. UsIS:TrigEvent("InputBegan",io,false)
  336. else
  337. UsIS:TrigEvent("InputEnded",io,false)
  338. end
  339. end
  340. end)
  341.  
  342. Func.OnServerInvoke = function(plr,inst,play)
  343. if plr~=Player then return end
  344. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  345. loudnesses[inst]=play
  346. end
  347. end
  348.  
  349. function GetClientProperty(inst,prop)
  350. --if(script:IsA'LocalScript' or game:service'RunService':IsStudio())then return prop[inst] end
  351. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  352. return loudnesses[inst]
  353. elseif(prop == 'PlaybackLoudness')then
  354. return Func:InvokeClient(Player,'RegSound',inst)
  355. end
  356. return Func:InvokeClient(Player,inst,prop)
  357. end
  358.  
  359.  
  360. local oldGame = game;
  361. local function GetService(s,i)
  362. local service = s:GetService(i)
  363. if(i == 'Players')then
  364. local oldService = service;
  365. local fakeService = newproxy(true)
  366. getmetatable(fakeService).__index = function(s,i)
  367. if(s == fakeService)then s=oldService end
  368. if(i == 'LocalPlayer' or i == 'localPlayer')then
  369. local oldPlayer = Player;
  370. local fakePlayer = newproxy(true)
  371. getmetatable(fakePlayer).__index = function(s,i)
  372. if(i == 'GetMouse')then
  373. return function() return m; end
  374. end
  375. return Player[i]
  376. end
  377. getmetatable(fakePlayer).__newindex = function(s,i,v)
  378. Player[i]=v
  379. end
  380. getmetatable(fakePlayer).__call=function(self,...)
  381. if(self == fakePlayer)then self = Player end
  382. local wh = {...}
  383. local name = table.remove(wh,1)
  384. for i,v in next, wh do
  385. wh[i]=v
  386. end
  387. if(name == 'GetMouse')then
  388. return m;
  389. end
  390. return self(name,unpack(wh))
  391. end
  392. getmetatable(fakePlayer).__namecall=function(self,...)
  393. if(self == fakePlayer)then self = Player end
  394. local tuple={...}
  395. local name = table.remove(tuple,#tuple)
  396.  
  397. if(name == 'GetMouse')then
  398. return m;
  399. else
  400. return self[name](self,unpack(tuple))
  401. end
  402. end
  403.  
  404. return fakePlayer
  405. elseif(i == 'oPlayer')then
  406. return oPlayer
  407. else
  408. return s[i]
  409. end
  410. end
  411. getmetatable(fakeService).__newindex = function(s,i,v)
  412. if(s == fakeService)then s=oldService end
  413. s[i]=v
  414. end
  415. getmetatable(fakeService).__call=function(self,...)
  416. if(self == fakeService)then self = oldService end
  417. local wh = {...}
  418. local name = table.remove(wh,1)
  419. for i,v in next, wh do
  420. wh[i]=v
  421. end
  422. return self(name,unpack(wh))
  423. end
  424. getmetatable(fakeService).__namecall=function(self,...)
  425. if(self == fakeService)then self = oldService end
  426. local tuple={...}
  427. local name = table.remove(tuple,#tuple)
  428.  
  429. return self[name](self,unpack(tuple))
  430. end
  431. getmetatable(fakeService).__metatable = 'gay'
  432. return fakeService
  433. elseif(i == 'RunService')then
  434. local oldService = service;
  435. local fakeService = newproxy(true)
  436. getmetatable(fakeService).__index = function(s,i)
  437. if(s == fakeService)then s=oldService end
  438. return Run[i] or s[i]
  439. end
  440. getmetatable(fakeService).__newindex = function(s,i,v)
  441. if(s == fakeService)then s=oldService end
  442. s[i]=v
  443. end
  444. getmetatable(fakeService).__call=function(self,...)
  445. if(self == fakeService)then self = oldService end
  446. local wh = {...}
  447. local name = table.remove(wh,1)
  448. for i,v in next, wh do
  449. wh[i]=v
  450. end
  451. return self(name,unpack(wh))
  452. end
  453. getmetatable(fakeService).__namecall=function(self,...)
  454. if(self == fakeService)then self = oldService end
  455. local tuple={...}
  456. local name = table.remove(tuple,#tuple)
  457.  
  458. return self[name](self,unpack(tuple))
  459. end
  460. getmetatable(fakeService).__metatable = 'gay'
  461. return fakeService
  462. elseif(i == 'UserInputService')then
  463. return UsIS
  464. elseif(i == 'ContextActionService')then
  465. return CoAS;
  466. else
  467. return service
  468. end
  469. end
  470. local serviceFunctions={
  471. service=true,
  472. GetService=true,
  473. }
  474. local fakeGame = newproxy(true)
  475. getmetatable(fakeGame).__index = function(s,i)
  476. if(s == fakeGame)then s=oldGame end
  477. local serv = GetService(oldGame,i)
  478. if serviceFunctions[i] then
  479. return GetService
  480. elseif(serv)then
  481. return serv
  482. else
  483. return s[i]
  484. end
  485. end
  486. getmetatable(fakeGame).__newindex = function(s,i,v)
  487. if(s == fakeGame)then s=oldGame end
  488. s[i]=v
  489. end
  490. getmetatable(fakeGame).__call=function(self,...)
  491. if(self == fakeGame)then self = oldGame end
  492. local wh = {...}
  493. local name = table.remove(wh,1)
  494. for i,v in next, wh do
  495. if(v == fakeGame)then v = oldGame end
  496. wh[i]=v
  497. end
  498. if serviceFunctions[name] then
  499. return GetService(self,unpack(wh))
  500. else
  501. return self(name,unpack(wh))
  502. end
  503. end
  504. getmetatable(fakeGame). __namecall=function(self,...)
  505. if(self == fakeGame)then self = oldGame end
  506. local tuple={...}
  507. local name = table.remove(tuple,#tuple)
  508.  
  509. local funcToCall=self[name]
  510.  
  511. if serviceFunctions[name] then
  512. return GetService(self,unpack(tuple))
  513. else
  514. return self[name](self,unpack(tuple))
  515. end
  516. end
  517. getmetatable(fakeGame).__metatable = 'gay'
  518.  
  519. coroutine.wrap(function()
  520. while true do
  521. Run:TrigEvent('RenderStepped')
  522. swait()
  523. end
  524. end)()
  525. game=fakeGame
  526. UserInputService,ContextActionService = UsIS,CoAS
  527. end
  528. end
  529. --//====================================================\\--
  530. --|| CREATED BY SHACKLUSTER
  531. --\\====================================================//--
  532.  
  533. wait(0.2)
  534.  
  535. Player = game:GetService("Players").LocalPlayer
  536. PlayerGui = Player.PlayerGui
  537. Cam = workspace.CurrentCamera
  538. Backpack = Player.Backpack
  539. Character = Player.Character
  540. Humanoid = Character.Humanoid
  541. Mouse = Player:GetMouse()
  542. RootPart = Character["HumanoidRootPart"]
  543. Torso = Character["Torso"]
  544. Head = Character["Head"]
  545. RightArm = Character["Right Arm"]
  546. LeftArm = Character["Left Arm"]
  547. RightLeg = Character["Right Leg"]
  548. LeftLeg = Character["Left Leg"]
  549. RootJoint = RootPart["RootJoint"]
  550. Neck = Torso["Neck"]
  551. RightShoulder = Torso["Right Shoulder"]
  552. LeftShoulder = Torso["Left Shoulder"]
  553. RightHip = Torso["Right Hip"]
  554. LeftHip = Torso["Left Hip"]
  555.  
  556. IT = Instance.new
  557. CF = CFrame.new
  558. VT = Vector3.new
  559. RAD = math.rad
  560. C3 = Color3.new
  561. UD2 = UDim2.new
  562. BRICKC = BrickColor.new
  563. ANGLES = CFrame.Angles
  564. EULER = CFrame.fromEulerAnglesXYZ
  565. COS = math.cos
  566. ACOS = math.acos
  567. SIN = math.sin
  568. ASIN = math.asin
  569. ABS = math.abs
  570. MRANDOM = math.random
  571. FLOOR = math.floor
  572.  
  573. --//=================================\\
  574. --|| USEFUL VALUES
  575. --\\=================================//
  576.  
  577. Animation_Speed = 3
  578. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  579. local Speed = 16
  580. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  581. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  582. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  583. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  584. local DAMAGEMULTIPLIER = 1
  585. local ANIM = "Idle"
  586. local ATTACK = false
  587. local EQUIPPED = false
  588. local HOLD = false
  589. local COMBO = 1
  590. local Rooted = false
  591. local SINE = 0
  592. local KEYHOLD = false
  593. local CHANGE = 2 / Animation_Speed
  594. local WALKINGANIM = false
  595. local VALUE1 = false
  596. local VALUE2 = false
  597. local ROBLOXIDLEANIMATION = IT("Animation")
  598. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  599. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  600. --ROBLOXIDLEANIMATION.Parent = Humanoid
  601. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  602. WEAPONGUI.Name = "Weapon GUI"
  603. local Effects = IT("Folder", Character)
  604. Effects.Name = "Effects"
  605. local ANIMATOR = Humanoid.Animator
  606. local ANIMATE = Character.Animate
  607. local UNANCHOR = true
  608. local SC = false
  609.  
  610. --//=================================\\
  611. --\\=================================//
  612.  
  613.  
  614. --//=================================\\
  615. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  616. --\\=================================//
  617.  
  618. ArtificialHB = Instance.new("BindableEvent", script)
  619. ArtificialHB.Name = "ArtificialHB"
  620.  
  621. script:WaitForChild("ArtificialHB")
  622.  
  623. frame = Frame_Speed
  624. tf = 0
  625. allowframeloss = false
  626. tossremainder = false
  627. lastframe = tick()
  628. script.ArtificialHB:Fire()
  629.  
  630. game:GetService("RunService").Heartbeat:connect(function(s, p)
  631. tf = tf + s
  632. if tf >= frame then
  633. if allowframeloss then
  634. ArtificialHB:Fire()
  635. lastframe = tick()
  636. else
  637. for i = 1, math.floor(tf / frame) do
  638. ArtificialHB:Fire()
  639. end
  640. lastframe = tick()
  641. end
  642. if tossremainder then
  643. tf = 0
  644. else
  645. tf = tf - frame * math.floor(tf / frame)
  646. end
  647. end
  648. end)
  649.  
  650. --//=================================\\
  651. --\\=================================//
  652.  
  653. --//=================================\\
  654. --|| SOME FUNCTIONS
  655. --\\=================================//
  656.  
  657. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  658. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  659. end
  660.  
  661. function PositiveAngle(NUMBER)
  662. if NUMBER >= 0 then
  663. NUMBER = 0
  664. end
  665. return NUMBER
  666. end
  667.  
  668. function NegativeAngle(NUMBER)
  669. if NUMBER <= 0 then
  670. NUMBER = 0
  671. end
  672. return NUMBER
  673. end
  674.  
  675. function Swait(NUMBER)
  676. if NUMBER == 0 or NUMBER == nil then
  677. ArtificialHB.Event:wait()
  678. else
  679. for i = 1, NUMBER do
  680. ArtificialHB.Event:wait()
  681. end
  682. end
  683. end
  684.  
  685. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  686. local NEWMESH = IT(MESH)
  687. if MESH == "SpecialMesh" then
  688. NEWMESH.MeshType = MESHTYPE
  689. if MESHID ~= "nil" and MESHID ~= "" then
  690. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  691. end
  692. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  693. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  694. end
  695. end
  696. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  697. NEWMESH.Scale = SCALE
  698. NEWMESH.Parent = PARENT
  699. return NEWMESH
  700. end
  701.  
  702. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  703. local NEWPART = IT("Part")
  704. NEWPART.formFactor = FORMFACTOR
  705. NEWPART.Reflectance = REFLECTANCE
  706. NEWPART.Transparency = TRANSPARENCY
  707. NEWPART.CanCollide = false
  708. NEWPART.Locked = true
  709. NEWPART.Anchored = true
  710. if ANCHOR == false then
  711. NEWPART.Anchored = false
  712. end
  713. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  714. NEWPART.Name = NAME
  715. NEWPART.Size = SIZE
  716. NEWPART.Position = Torso.Position
  717. NEWPART.Material = MATERIAL
  718. NEWPART:BreakJoints()
  719. NEWPART.Parent = PARENT
  720. return NEWPART
  721. end
  722.  
  723. local function weldBetween(a, b)
  724. local weldd = Instance.new("ManualWeld")
  725. weldd.Part0 = a
  726. weldd.Part1 = b
  727. weldd.C0 = CFrame.new()
  728. weldd.C1 = b.CFrame:inverse() * a.CFrame
  729. weldd.Parent = a
  730. return weldd
  731. end
  732.  
  733.  
  734. function QuaternionFromCFrame(cf)
  735. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  736. local trace = m00 + m11 + m22
  737. if trace > 0 then
  738. local s = math.sqrt(1 + trace)
  739. local recip = 0.5 / s
  740. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  741. else
  742. local i = 0
  743. if m11 > m00 then
  744. i = 1
  745. end
  746. if m22 > (i == 0 and m00 or m11) then
  747. i = 2
  748. end
  749. if i == 0 then
  750. local s = math.sqrt(m00 - m11 - m22 + 1)
  751. local recip = 0.5 / s
  752. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  753. elseif i == 1 then
  754. local s = math.sqrt(m11 - m22 - m00 + 1)
  755. local recip = 0.5 / s
  756. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  757. elseif i == 2 then
  758. local s = math.sqrt(m22 - m00 - m11 + 1)
  759. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  760. end
  761. end
  762. end
  763.  
  764. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  765. local xs, ys, zs = x + x, y + y, z + z
  766. local wx, wy, wz = w * xs, w * ys, w * zs
  767. local xx = x * xs
  768. local xy = x * ys
  769. local xz = x * zs
  770. local yy = y * ys
  771. local yz = y * zs
  772. local zz = z * zs
  773. 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))
  774. end
  775.  
  776. function QuaternionSlerp(a, b, t)
  777. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  778. local startInterp, finishInterp;
  779. if cosTheta >= 0.0001 then
  780. if (1 - cosTheta) > 0.0001 then
  781. local theta = ACOS(cosTheta)
  782. local invSinTheta = 1 / SIN(theta)
  783. startInterp = SIN((1 - t) * theta) * invSinTheta
  784. finishInterp = SIN(t * theta) * invSinTheta
  785. else
  786. startInterp = 1 - t
  787. finishInterp = t
  788. end
  789. else
  790. if (1 + cosTheta) > 0.0001 then
  791. local theta = ACOS(-cosTheta)
  792. local invSinTheta = 1 / SIN(theta)
  793. startInterp = SIN((t - 1) * theta) * invSinTheta
  794. finishInterp = SIN(t * theta) * invSinTheta
  795. else
  796. startInterp = t - 1
  797. finishInterp = t
  798. end
  799. end
  800. 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
  801. end
  802.  
  803. function Clerp(a, b, t)
  804. local qa = {QuaternionFromCFrame(a)}
  805. local qb = {QuaternionFromCFrame(b)}
  806. local ax, ay, az = a.x, a.y, a.z
  807. local bx, by, bz = b.x, b.y, b.z
  808. local _t = 1 - t
  809. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  810. end
  811.  
  812. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  813. local frame = IT("Frame")
  814. frame.BackgroundTransparency = TRANSPARENCY
  815. frame.BorderSizePixel = BORDERSIZEPIXEL
  816. frame.Position = POSITION
  817. frame.Size = SIZE
  818. frame.BackgroundColor3 = COLOR
  819. frame.BorderColor3 = BORDERCOLOR
  820. frame.Name = NAME
  821. frame.Parent = PARENT
  822. return frame
  823. end
  824.  
  825. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  826. local label = IT("TextLabel")
  827. label.BackgroundTransparency = 1
  828. label.Size = UD2(1, 0, 1, 0)
  829. label.Position = UD2(0, 0, 0, 0)
  830. label.TextColor3 = TEXTCOLOR
  831. label.TextStrokeTransparency = STROKETRANSPARENCY
  832. label.TextTransparency = TRANSPARENCY
  833. label.FontSize = TEXTFONTSIZE
  834. label.Font = TEXTFONT
  835. label.BorderSizePixel = BORDERSIZEPIXEL
  836. label.TextScaled = false
  837. label.Text = TEXT
  838. label.Name = NAME
  839. label.Parent = PARENT
  840. return label
  841. end
  842.  
  843. function NoOutlines(PART)
  844. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  845. end
  846.  
  847. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  848. local NEWWELD = IT(TYPE)
  849. NEWWELD.Part0 = PART0
  850. NEWWELD.Part1 = PART1
  851. NEWWELD.C0 = C0
  852. NEWWELD.C1 = C1
  853. NEWWELD.Parent = PARENT
  854. return NEWWELD
  855. end
  856.  
  857. local S = IT("Sound")
  858. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  859. local NEWSOUND = nil
  860. coroutine.resume(coroutine.create(function()
  861. NEWSOUND = S:Clone()
  862. NEWSOUND.Parent = PARENT
  863. NEWSOUND.Volume = VOLUME
  864. NEWSOUND.Pitch = PITCH
  865. NEWSOUND.SoundId = "rbxassetid://"..ID
  866. NEWSOUND:play()
  867. if DOESLOOP == true then
  868. NEWSOUND.Looped = true
  869. else
  870. repeat wait(1) until NEWSOUND.Playing == false
  871. NEWSOUND:remove()
  872. end
  873. end))
  874. return NEWSOUND
  875. end
  876.  
  877. function CFrameFromTopBack(at, top, back)
  878. local right = top:Cross(back)
  879. 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)
  880. end
  881.  
  882. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  883. function WACKYEFFECT(Table)
  884. local TYPE = (Table.EffectType or "Sphere")
  885. local SIZE = (Table.Size or VT(1,1,1))
  886. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  887. local TRANSPARENCY = (Table.Transparency or 0)
  888. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  889. local CFRAME = (Table.CFrame or Torso.CFrame)
  890. local MOVEDIRECTION = (Table.MoveToPos or nil)
  891. local ROTATION1 = (Table.RotationX or 0)
  892. local ROTATION2 = (Table.RotationY or 0)
  893. local ROTATION3 = (Table.RotationZ or 0)
  894. local MATERIAL = (Table.Material or "Neon")
  895. local COLOR = (Table.Color or C3(1,1,1))
  896. local TIME = (Table.Time or 45)
  897. local SOUNDID = (Table.SoundID or nil)
  898. local SOUNDPITCH = (Table.SoundPitch or nil)
  899. local SOUNDVOLUME = (Table.SoundVolume or nil)
  900. local USEBOOMERANGMATH = (Table.UseBoomerangMath or false)
  901. local BOOMERANG = (Table.Boomerang or 0)
  902. local SIZEBOOMERANG = (Table.SizeBoomerang or 0)
  903. coroutine.resume(coroutine.create(function()
  904. local PLAYSSOUND = false
  905. local SOUND = nil
  906. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  907. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  908. PLAYSSOUND = true
  909. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  910. end
  911. EFFECT.Color = COLOR
  912. local MSH = nil
  913. if TYPE == "Sphere" then
  914. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  915. elseif TYPE == "Block" or TYPE == "Box" then
  916. MSH = IT("BlockMesh",EFFECT)
  917. MSH.Scale = SIZE
  918. elseif TYPE == "Wave" then
  919. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  920. elseif TYPE == "Ring" then
  921. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  922. elseif TYPE == "Slash" then
  923. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  924. elseif TYPE == "Round Slash" then
  925. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  926. elseif TYPE == "Swirl" then
  927. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "168892432", "", SIZE, VT(0,0,0))
  928. elseif TYPE == "Skull" then
  929. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  930. elseif TYPE == "Crystal" then
  931. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  932. end
  933. if MSH ~= nil then
  934. local BOOMR1 = 1+BOOMERANG/50
  935. local BOOMR2 = 1+SIZEBOOMERANG/50
  936. local MOVESPEED = nil
  937. if MOVEDIRECTION ~= nil then
  938. if USEBOOMERANGMATH == true then
  939. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)*BOOMR1
  940. else
  941. MOVESPEED = ((CFRAME.p - MOVEDIRECTION).Magnitude/TIME)
  942. end
  943. end
  944. local GROWTH = nil
  945. if USEBOOMERANGMATH == true then
  946. GROWTH = (SIZE - ENDSIZE)*(BOOMR2+1)
  947. else
  948. GROWTH = (SIZE - ENDSIZE)
  949. end
  950. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  951. if TYPE == "Block" then
  952. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  953. else
  954. EFFECT.CFrame = CFRAME
  955. end
  956. if USEBOOMERANGMATH == true then
  957. for LOOP = 1, TIME+1 do
  958. Swait()
  959. MSH.Scale = MSH.Scale - (VT((GROWTH.X)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Y)*((1 - (LOOP/TIME)*BOOMR2)),(GROWTH.Z)*((1 - (LOOP/TIME)*BOOMR2)))*BOOMR2)/TIME
  960. if TYPE == "Wave" then
  961. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  962. end
  963. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  964. if TYPE == "Block" then
  965. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  966. else
  967. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  968. end
  969. if MOVEDIRECTION ~= nil then
  970. local ORI = EFFECT.Orientation
  971. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-(MOVESPEED)*((1 - (LOOP/TIME)*BOOMR1)))
  972. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  973. end
  974. end
  975. else
  976. for LOOP = 1, TIME+1 do
  977. Swait()
  978. MSH.Scale = MSH.Scale - GROWTH/TIME
  979. if TYPE == "Wave" then
  980. MSH.Offset = VT(0,0,-MSH.Scale.Z/8)
  981. end
  982. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  983. if TYPE == "Block" then
  984. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  985. else
  986. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  987. end
  988. if MOVEDIRECTION ~= nil then
  989. local ORI = EFFECT.Orientation
  990. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  991. EFFECT.CFrame = CF(EFFECT.Position)*ANGLES(RAD(ORI.X),RAD(ORI.Y),RAD(ORI.Z))
  992. end
  993. end
  994. end
  995. EFFECT.Transparency = 1
  996. if PLAYSSOUND == false then
  997. EFFECT:remove()
  998. else
  999. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1000. EFFECT:remove()
  1001. end
  1002. else
  1003. if PLAYSSOUND == false then
  1004. EFFECT:remove()
  1005. else
  1006. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  1007. EFFECT:remove()
  1008. end
  1009. end
  1010. end))
  1011. end
  1012.  
  1013. function MakeForm(PART,TYPE)
  1014. if TYPE == "Cyl" then
  1015. local MSH = IT("CylinderMesh",PART)
  1016. elseif TYPE == "Ball" then
  1017. local MSH = IT("SpecialMesh",PART)
  1018. MSH.MeshType = "Sphere"
  1019. elseif TYPE == "Wedge" then
  1020. local MSH = IT("SpecialMesh",PART)
  1021. MSH.MeshType = "Wedge"
  1022. end
  1023. end
  1024.  
  1025. Debris = game:GetService("Debris")
  1026.  
  1027. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1028. local DIRECTION = CF(StartPos,EndPos).lookVector
  1029. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1030. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
  1031. end
  1032.  
  1033. --Debree({Delay = 1.5,Variant = "",Location = Torso.Position,Color = C3(1,1,1),Size = 1,Distance = 1,Material = "Slate",Scatter = 1,Amount = 1,DebreeCount = 1})
  1034. function Debree(Table)
  1035. local KindOf = (Table.Variant or "Ring")
  1036. local Position = (Table.Location or Torso.Position)
  1037. local Coloration = (Table.Color or C3(1,1,1))
  1038. local Texture = (Table.Material or "Slate")
  1039. local Fling = (Table.Scatter or 1)
  1040. local Number = (Table.Amount or 1)
  1041. local Rocks = (Table.DebreeCount or 1)
  1042. local Range = (Table.Distance or 1)
  1043. local Scale = (Table.Size or 1)
  1044. local Timer = (Table.Delay or 1.5)
  1045. coroutine.resume(coroutine.create(function()
  1046. local ScaleVector = VT(Scale,Scale,Scale)
  1047. local Boulders = {}
  1048. Position = CF(Position)
  1049. if KindOf == "Ring" or KindOf == "Both" then
  1050. for RockValue = 1, Number do
  1051. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),Range)
  1052. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1053. BOULDER.CanCollide = true
  1054. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1055. BOULDER.Color = Coloration
  1056. table.insert(Boulders,BOULDER)
  1057. end
  1058. end
  1059. if KindOf == "Loose" or KindOf == "Both" then
  1060. for RockValue = 1, Rocks do
  1061. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale-(Scale/2)),math.ceil(Scale-(Scale/2))),0.7)
  1062. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, false)
  1063. BOULDER.CanCollide = true
  1064. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1065. BOULDER.Velocity = CF(BOULDER.Position-VT(0,4,0),BOULDER.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,5,0).p).lookVector*MRANDOM(Fling-(Fling/1.5),Fling+(Fling/1.5))
  1066. BOULDER.Color = Coloration
  1067. table.insert(Boulders,BOULDER)
  1068. end
  1069. end
  1070. if KindOf == "Random" then
  1071. for RockValue = 1, Number do
  1072. local LOCATION = Position * ANGLES(RAD(0), RAD((360/Number)*RockValue), RAD(0))*CF(0,MRANDOM(-math.ceil(Scale/4),math.ceil(Scale/4)),MRANDOM(0,Range))
  1073. local BOULDER = CreatePart(3, workspace, Texture, 0, 0, BRICKC("Pearl"), "Debree", ScaleVector, true)
  1074. BOULDER.CanCollide = true
  1075. BOULDER.CFrame = LOCATION*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1076. BOULDER.Color = Coloration
  1077. table.insert(Boulders,BOULDER)
  1078. end
  1079. end
  1080. wait(Timer)
  1081. for E = 1, 45 do
  1082. Swait()
  1083. for A = 1, #Boulders do
  1084. Boulders[A].Transparency = Boulders[A].Transparency + 1/45
  1085. end
  1086. end
  1087. for A = 1, #Boulders do
  1088. Boulders[A]:Destroy()
  1089. end
  1090. end))
  1091. end
  1092.  
  1093. --//=================================\\
  1094. --|| MUSIC AND COLORS
  1095. --\\=================================//
  1096.  
  1097. local BASECOLOR = C3(0,0,0)
  1098. local BMUSIC = IT("Sound",RootPart)
  1099. local VOLUME = 1
  1100. local PITCH = 1
  1101. local SONGID = 1442022177
  1102. local PLAYING = false
  1103. local INTRO = false
  1104. local SCREENS = {}
  1105. local SCREENWELDS = {}
  1106. local GUISTEXT = {}
  1107.  
  1108. --//=================================\\
  1109. --|| DAMAGING
  1110. --\\=================================//
  1111.  
  1112. function ApplyDamage(Humanoid,Damage)
  1113. if Damage > 0 then
  1114. Damage = Damage * DAMAGEMULTIPLIER
  1115. if Humanoid.Health < 2000 then
  1116. if Humanoid.Health - Damage > 0 then
  1117. Humanoid.Health = Humanoid.Health - Damage
  1118. else
  1119. Humanoid.Parent:BreakJoints()
  1120. end
  1121. else
  1122. Humanoid.Parent:BreakJoints()
  1123. end
  1124. end
  1125. end
  1126.  
  1127. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1128. for index, CHILD in pairs(workspace:GetDescendants()) do
  1129. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1130. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1131. if HUM then
  1132. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1133. if TORSO then
  1134. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1135. if INSTAKILL == true then
  1136. CHILD:BreakJoints()
  1137. else
  1138. local DMG = MRANDOM(MINDMG,MAXDMG)
  1139. ApplyDamage(HUM,DMG)
  1140. end
  1141. if FLING > 0 then
  1142. for _, c in pairs(CHILD:GetChildren()) do
  1143. if c:IsA("BasePart") then
  1144. local bv = Instance.new("BodyVelocity")
  1145. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1146. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1147. bv.Parent = c
  1148. Debris:AddItem(bv,0.05)
  1149. end
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157. end
  1158.  
  1159. --//=================================\\
  1160. --|| ATTACK FUNCTIONS AND STUFF
  1161. --\\=================================//
  1162.  
  1163. local GLASSESWLD = nil
  1164. function IntroThing()
  1165. ATTACK = true
  1166. Rooted = true
  1167. RootJoint.C0 = CF(0,250,0)
  1168. CONNECT = Mouse.KeyDown:connect(function(NEWKEY)
  1169. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1170. if HITFLOOR then
  1171. CONNECT:Disconnect()
  1172. local SOUND = CreateSound(606241996, Effects, 5, 1)
  1173. coroutine.resume(coroutine.create(function()
  1174. repeat Swait() SOUND.Parent = Effects until SOUND.Playing == false
  1175. PLAYING = true
  1176. end))
  1177. for i=0, 0.4, 0.1 / Animation_Speed do
  1178. Swait()
  1179. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.31, -0.65 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
  1180. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1181. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1.4) * ANGLES(RAD(65), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1182. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1183. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1184. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.1 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1185. end
  1186. for i = 1, 3 do
  1187. WACKYEFFECT({EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(i*12,5,i*12), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0.1, RotationY = 1, RotationZ = -0.1, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 5, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  1188. end
  1189. Debree({Delay = 4,Variant = "Ring",Location = HITPOS,Color = HITFLOOR.Color,Size = 3,Distance = 15,Material = HITFLOOR.Material,Scatter = 1,Amount = 30,DebreeCount = 8})
  1190. for i=0, 0.85, 0.1 / Animation_Speed do
  1191. Swait()
  1192. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.31, -0.65 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
  1193. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1194. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1.4) * ANGLES(RAD(65), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1195. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1196. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1197. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.1 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1198. end
  1199. for i=0, 1, 0.1 / Animation_Speed do
  1200. Swait()
  1201. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.31, -0.65 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(60), RAD(0), RAD(0)), 1 / Animation_Speed)
  1202. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-50 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1203. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1.4) * ANGLES(RAD(65), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1204. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1205. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1206. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.1 - 0.05 * COS(SINE / 12), -0.4) * ANGLES(RAD(60), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1207. end
  1208. for i=0, 1, 0.1 / Animation_Speed do
  1209. Swait()
  1210. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1211. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1212. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0.7) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1213. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1214. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1215. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1216. end
  1217. local GLASSES = CreatePart(3, Character, "Fabric", 0, 0, BRICKC("Pearl"), "Glasses", VT(0,0,0), false)
  1218. CreateMesh("SpecialMesh", GLASSES, "FileMesh", "1577360", "1577349", VT(1, 1.3, 1), VT(0,0,0))
  1219. local HELDWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, GLASSES, CF(0,-1.4,0) * ANGLES(RAD(90), RAD(0), RAD(180)), CF(0,0,0))
  1220. CreateSound(147722227, GLASSES, 2, 1.3, false)
  1221. for i=0, 0.25, 0.1 / Animation_Speed do
  1222. Swait()
  1223. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1224. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(45), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1225. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -0.1) * ANGLES(RAD(30), RAD(-5), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1226. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1227. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1228. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1229. end
  1230. for i=0, 0.3, 0.1 / Animation_Speed do
  1231. Swait()
  1232. HELDWELD.C1 = Clerp(HELDWELD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(-35)), 0.1)
  1233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1234. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.2, -0.8) * ANGLES(RAD(160), RAD(-5), RAD(-46)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1239. end
  1240. HELDWELD.Part0 = Head
  1241. HELDWELD.Parent = Head
  1242. HELDWELD.C0 = CF(0,0.1,-0.15)
  1243. HELDWELD.C1 = CF(0,0,0)
  1244. for i = 1, 3 do
  1245. for i=0, 0.4, 0.1 / Animation_Speed do
  1246. Swait()
  1247. HELDWELD.C1 = Clerp(HELDWELD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(-5)), 0.25)
  1248. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1249. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1250. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.2, -0.3) * ANGLES(RAD(160), RAD(-5), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1251. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.1, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1252. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1253. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1254. end
  1255. for i=0, 0.4, 0.1 / Animation_Speed do
  1256. Swait()
  1257. HELDWELD.C1 = Clerp(HELDWELD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(5)), 0.25)
  1258. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1259. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1260. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.1, -0.3) * ANGLES(RAD(160), RAD(-5), RAD(-12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1261. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.2, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1262. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1263. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1264. end
  1265. end
  1266. for i = 1, 4 do
  1267. Swait()
  1268. local SCREEN = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Cyan"), "SCREEN", VT(2.5,0.8,0)*2, false)
  1269. local SCREENWELD = CreateWeldOrSnapOrMotor("Weld", RootPart, RootPart, SCREEN, CF(0,0,0) * ANGLES(RAD(0),RAD((360/6)*i),RAD(0)) * CF(0,0,3+(i/1.5)), CF(0,0,0))
  1270. table.insert(SCREENS,SCREEN)
  1271. table.insert(SCREENWELDS,SCREENWELD)
  1272. local GUI = IT("SurfaceGui",SCREEN)
  1273. for i = 1, 5 do
  1274. local SCREENFRAME = CreateFrame(GUI, 1, 2, UD2(0, 0, ((1/5)*i)-1/5, 0), UD2(1, 0, 1/5, 0), C3(0,0,0), C3(0,0,0), "TESTING.exe")
  1275. local TEXT = CreateLabel(SCREENFRAME, "[BOOTING UP...]", C3(1,1,1), Enum.FontSize.Size48, "Code", 0.5, 1, 1, "RunningTests")
  1276. TEXT.TextXAlignment = "Left"
  1277. TEXT.TextWrapped = true
  1278. table.insert(GUISTEXT,TEXT)
  1279. end
  1280. end
  1281. for i=0, 1, 0.1 / Animation_Speed do
  1282. Swait()
  1283. HELDWELD.C1 = Clerp(HELDWELD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.4)
  1284. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1285. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1286. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15, -0.25) * ANGLES(RAD(160), RAD(-5), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1287. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.15, -0.25) * ANGLES(RAD(160), RAD(5), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1288. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1289. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1290. end
  1291. for i=0, 0.1, 0.1 / Animation_Speed do
  1292. Swait()
  1293. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1297. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1299. end
  1300. GLASSESWLD = HELDWELD
  1301. ATTACK = false
  1302. Rooted = false
  1303. end
  1304. end)
  1305. end
  1306. function Screening(Text,FinishesMoveEnd,WaitTillFinished)
  1307. local SCREEN = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Cyan"), "SCREEN", VT(2.5,0.8,0)*1.5, false)
  1308. local SCREENWELD = CreateWeldOrSnapOrMotor("Weld", RootPart, RootPart, SCREEN, CF(0,0,0) * ANGLES(RAD(-12),RAD(180),RAD(0)) * CF(0,0,1.5), CF(0,0,0))
  1309. local GUI = IT("SurfaceGui",SCREEN)
  1310. local SCREENFRAME = CreateFrame(GUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0,0,0), "TESTING.exe")
  1311. local TEXT = CreateLabel(SCREENFRAME, Text, C3(1,1,1), Enum.FontSize.Size48, "Code", 0.5, 1, 1, "RunningTests")
  1312. TEXT.TextScaled = true
  1313. coroutine.resume(coroutine.create(function()
  1314. coroutine.resume(coroutine.create(function()
  1315. for i = 1, 5 do
  1316. Swait()
  1317. SCREEN.Transparency = SCREEN.Transparency - 0.1/5
  1318. end
  1319. end))
  1320. if WaitTillFinished == false then
  1321. for i=0, 1.7, 0.1 / Animation_Speed do
  1322. Swait()
  1323. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 7 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.45 + 0.1 * COS(SINE / 12), -0.2) * ANGLES(RAD(45), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-44 - 1.5 * COS(SINE / 12)), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1327. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1328. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1329. end
  1330. elseif WaitTillFinished == true then
  1331. repeat
  1332. Swait()
  1333. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1334. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 7 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1335. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.45 + 0.1 * COS(SINE / 12), -0.2) * ANGLES(RAD(45), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1336. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-44 - 1.5 * COS(SINE / 12)), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1337. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1338. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1339. until ATTACK == false
  1340. end
  1341. coroutine.resume(coroutine.create(function()
  1342. SCREENWELD:Remove()
  1343. SCREEN.Anchored = true
  1344. for i = 1, 5 do
  1345. Swait()
  1346. SCREEN.Transparency = SCREEN.Transparency + 0.1/5
  1347. end
  1348. SCREEN:Remove()
  1349. end))
  1350. if FinishesMoveEnd == true then
  1351. ATTACK = false
  1352. Rooted = false
  1353. end
  1354. end))
  1355. return SCREEN,TEXT
  1356. end
  1357. local Fling = function()
  1358. ATTACK = true
  1359. Rooted = false
  1360. Screening(";Fling",true,false)
  1361. wait(0.25)
  1362. RightShoulder.C0 = RightShoulder.C0 * CF(0,-0.12,0)
  1363. CreateSound(138204323, RightArm, 2, 1.3, false)
  1364. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1365. if HITFLOOR then
  1366. Debree({Delay = 4,Variant = "Ring",Location = HITPOS,Color = HITFLOOR.Color,Size = 4,Distance = 75,Material = HITFLOOR.Material,Scatter = 1,Amount = MRANDOM(75,85),DebreeCount = 8})
  1367. end
  1368. ApplyAoE(RootPart.Position-VT(0,4,0),75,5,12,550,false)
  1369. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0.75, Transparency2 = 1, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 610359590, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 5})
  1370. end
  1371. local TpTo = function()
  1372. ATTACK = true
  1373. Rooted = true
  1374. local SCR, TEXT = Screening("",false,true)
  1375. for i = 1, 35 do
  1376. Swait()
  1377. local TPSPOT = "TPTO: ["..math.ceil(Mouse.Hit.p.X).."."..math.ceil(Mouse.Hit.p.Y+3.15).."."..math.ceil(Mouse.Hit.p.Z).."]"
  1378. TEXT.Text = TPSPOT
  1379. end
  1380. RightShoulder.C0 = RightShoulder.C0 * CF(0,-0.12,0)
  1381. CreateSound(138204323, RightArm, 2, 1.3, false)
  1382. CreateSound(1127492102, Torso, 2, 1, false)
  1383. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3.15,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1384. wait(0.1)
  1385. ATTACK = false
  1386. Rooted = false
  1387. end
  1388. local Hurl = function()
  1389. ATTACK = true
  1390. Rooted = false
  1391. local SCREEN = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Cyan"), "SCREEN", VT(2.5,0.8,0)*1.5, false)
  1392. local SCREENWELD = CreateWeldOrSnapOrMotor("Weld", RootPart, RootPart, SCREEN, CF(0,0,0) * ANGLES(RAD(-12),RAD(180),RAD(0)) * CF(0,0,1.5), CF(0,0,0))
  1393. local GUI = IT("SurfaceGui",SCREEN)
  1394. local SCREENFRAME = CreateFrame(GUI, 1, 2, UD2(0, 0, 0, 0), UD2(1, 0, 1, 0), C3(0,0,0), C3(0,0,0), "TESTING.exe")
  1395. local TEXT = CreateLabel(SCREENFRAME, "[COLLECTING DEBREE]", C3(1,1,1), Enum.FontSize.Size48, "Code", 0.5, 1, 1, "RunningTests")
  1396. local ROCKS = {}
  1397. coroutine.resume(coroutine.create(function()
  1398. for i = 1, 5 do
  1399. Swait()
  1400. SCREEN.Transparency = SCREEN.Transparency - 0.1/5
  1401. end
  1402. end))
  1403. for i = 1, 12 do
  1404. local SPOT = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * CF(0,0,MRANDOM(4,15))
  1405. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1406. if HITFLOOR then
  1407. coroutine.resume(coroutine.create(function()
  1408. local BOULDER = CreatePart(3, Effects, HITFLOOR.Material, 0, 0, BRICKC("Cyan"), "Debree", VT(1,1,1)*(MRANDOM(5,25)/10), true)
  1409. BOULDER.Color = HITFLOOR.Color
  1410. BOULDER.CFrame = CF(HITPOS-VT(0,5,0)) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1411. local CFRAME = SPOT*CF(0,MRANDOM(7,12),0)
  1412. table.insert(ROCKS,BOULDER)
  1413. for i = 1, 35 do
  1414. Swait()
  1415. BOULDER.CFrame = Clerp(BOULDER.CFrame,CFRAME,0.1)
  1416. end
  1417. end))
  1418. end
  1419. end
  1420. for i=0, 1.7, 0.1 / Animation_Speed do
  1421. Swait()
  1422. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1423. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 7 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1424. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.75 + 0.1 * COS(SINE / 12), -0.1) * ANGLES(RAD(145), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1425. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-44 - 1.5 * COS(SINE / 12)), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1426. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1427. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1428. end
  1429. if #ROCKS > 0 then
  1430. TEXT.Text = "[HURLING DEBREE]"
  1431. local GYRO = IT("BodyGyro",RootPart)
  1432. GYRO.D = 2
  1433. GYRO.P = 20000
  1434. GYRO.MaxTorque = VT(0,4000000,0)
  1435. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1436. coroutine.resume(coroutine.create(function()
  1437. repeat
  1438. Swait()
  1439. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1440. until ATTACK == false
  1441. GYRO:Remove()
  1442. end))
  1443. local THROWING = true
  1444. coroutine.resume(coroutine.create(function()
  1445. repeat
  1446. Swait()
  1447. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(25)), 1 / Animation_Speed)
  1448. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 7 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1449. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.45 + 0.1 * COS(SINE / 12), -0.2) * ANGLES(RAD(90), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1450. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.45 + 0.1 * COS(SINE / 12), -0.2) * ANGLES(RAD(44 - 1.5 * COS(SINE / 12)), RAD(0), RAD(25)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1451. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1452. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-100), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1453. until THROWING == false
  1454. end))
  1455. for E = 1, #ROCKS do
  1456. wait(0.05)
  1457. local ROCK = ROCKS[E]
  1458. coroutine.resume(coroutine.create(function()
  1459. ROCK.CFrame = CF(ROCK.Position,Mouse.Hit.p)
  1460. CreateSound(147722227, ROCK, 2, 1.3, false)
  1461. local KILL = false
  1462. for i = 1, 70 do
  1463. Swait()
  1464. for i = 1, 4 do
  1465. ROCK.CFrame = ROCK.CFrame * CF(0,0,-ROCK.Size.Z/2)
  1466. local HIT,POS,NORMAL = Raycast(ROCK.Position,ROCK.CFrame.lookVector,ROCK.Size.Z/1.5,Character)
  1467. if HIT then
  1468. KILL = true
  1469. CreateSound(174580476, ROCK, 2, 1.6, false)
  1470. ApplyAoE(ROCK.Position,6*ROCK.Size.Z,25,35,12,false)
  1471. for E = 1, 2 do
  1472. for i = 1, 4 do
  1473. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = (VT(E,0,E)/15)*ROCK.Size.Z, Transparency = 0.8, Transparency2 = 1, CFrame = CF(ROCK.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1474. end
  1475. end
  1476. Debree({Delay = 0.8,Variant = "Loose",Location = ROCK.Position,Color = ROCK.Color,Size = ROCK.Size.Z/3,Distance = 75,Material = ROCK.Material,Scatter = 35,Amount = MRANDOM(75,85),DebreeCount = 8})
  1477. break
  1478. else
  1479. WACKYEFFECT({Time = 6, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(3,1,3)*ROCK.Size.Z, Transparency = 0.97, Transparency2 = 1, CFrame = ROCK.CFrame*CF(0,0,-ROCK.Size.Z/2) * ANGLES(RAD(90), RAD(MRANDOM(0,360)), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = MRANDOM(-1,1), RotationY = MRANDOM(-1,1), RotationZ = MRANDOM(-1,1), Material = "Neon", Color = BRICKC"Cyan".Color, SoundID = nil, SoundPitch = MRANDOM(5,15)/10, SoundVolume = 5, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 25})
  1480. end
  1481. end
  1482. if KILL == true then
  1483. break
  1484. end
  1485. end
  1486. ROCK.Transparency = 1
  1487. Debris:AddItem(ROCK,5)
  1488. end))
  1489. wait(0.05)
  1490. end
  1491. THROWING = false
  1492. end
  1493. coroutine.resume(coroutine.create(function()
  1494. SCREENWELD:Remove()
  1495. SCREEN.Anchored = true
  1496. for i = 1, 5 do
  1497. Swait()
  1498. SCREEN.Transparency = SCREEN.Transparency + 0.1/5
  1499. end
  1500. SCREEN:Remove()
  1501. end))
  1502. ATTACK = false
  1503. Rooted = false
  1504. end
  1505. local Kill = function()
  1506. local TARGET = Mouse.Target
  1507. if TARGET ~= nil then
  1508. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1509. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1510. local ROOT = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso")
  1511. if ROOT and HUM.Health > 0 then
  1512. local FOE = ROOT.Parent
  1513. ATTACK = true
  1514. Rooted = false
  1515. Screening(";Kill",true,false)
  1516. wait(0.25)
  1517. RightShoulder.C0 = RightShoulder.C0 * CF(0,-0.12,0)
  1518. CreateSound(138204323, RightArm, 2, 1.3, false)
  1519. for index, CHILD in pairs(FOE:GetChildren()) do
  1520. if CHILD:IsA("BasePart") then
  1521. if CHILD.Name == "Head" then
  1522. WACKYEFFECT({Time = MRANDOM(10,30), EffectType = "Box", Size = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z), Size2 = VT(CHILD.Size.Z,CHILD.Size.Y,CHILD.Size.Z)*2, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, SizeBoomerang = 0, Boomerang = 50})
  1523. elseif CHILD.Name ~= "HumanoidRootPart" then
  1524. WACKYEFFECT({Time = MRANDOM(10,30), EffectType = "Box", Size = CHILD.Size, Size2 = CHILD.Size*2, Transparency = CHILD.Transparency, Transparency2 = 1, CFrame = CHILD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, SizeBoomerang = 0, Boomerang = 35})
  1525. end
  1526. end
  1527. end
  1528. FOE:BreakJoints()
  1529. end
  1530. end
  1531. end
  1532. end
  1533. local ATTAC = function()
  1534. ATTACK = true
  1535. Rooted = false
  1536. for i=0, 1, 0.1 / Animation_Speed do
  1537. Swait()
  1538. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1539. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1540. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1541. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1544. end
  1545. ATTACK = false
  1546. Rooted = false
  1547. end
  1548. local LITTLEIDLE = false
  1549. function UniqueIdleAnimation()
  1550. coroutine.resume(coroutine.create(function()
  1551. for i=0, 0.1, 0.1 / Animation_Speed do
  1552. Swait()
  1553. if ATTACK == true or ANIM ~= "Idle" then
  1554. break
  1555. end
  1556. GLASSESWLD.C1 = Clerp(GLASSESWLD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.25)
  1557. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1558. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1559. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1560. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.1, -0.3) * ANGLES(RAD(80), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1561. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1562. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1563. end
  1564. for i=0, 0.4, 0.1 / Animation_Speed do
  1565. Swait()
  1566. if ATTACK == true or ANIM ~= "Idle" then
  1567. break
  1568. end
  1569. GLASSESWLD.C1 = Clerp(GLASSESWLD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.25)
  1570. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1571. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1572. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1573. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.1, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1574. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1575. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1576. end
  1577. for i=0, 1.3, 0.1 / Animation_Speed do
  1578. Swait()
  1579. if ATTACK == true or ANIM ~= "Idle" then
  1580. break
  1581. end
  1582. GLASSESWLD.C1 = Clerp(GLASSESWLD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(5)), 0.2 / Animation_Speed)
  1583. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1584. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1585. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1586. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.15, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1587. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1589. end
  1590. for i=0, 0.3, 0.1 / Animation_Speed do
  1591. Swait()
  1592. if ATTACK == true or ANIM ~= "Idle" then
  1593. break
  1594. end
  1595. GLASSESWLD.C1 = Clerp(GLASSESWLD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 1 / Animation_Speed)
  1596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.05, -0.3) * ANGLES(RAD(160), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1602. end
  1603. for i=0, 0.1, 0.1 / Animation_Speed do
  1604. Swait()
  1605. if ATTACK == true or ANIM ~= "Idle" then
  1606. break
  1607. end
  1608. GLASSESWLD.C1 = Clerp(GLASSESWLD.C1, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), 0.25)
  1609. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1610. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1611. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.1, -0.3) * ANGLES(RAD(80), RAD(5), RAD(12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1613. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1614. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1615. end
  1616. LITTLEIDLE = false
  1617. end))
  1618. end
  1619.  
  1620. --//=================================\\
  1621. --|| GUIS AND KEYS
  1622. --\\=================================//
  1623.  
  1624. local COLOR = C3(1,1,1)
  1625. local SKILLFONT = "Legacy"
  1626. local SIZE = 2.5
  1627. local MOUSE = 2097542191
  1628. local MELEE = 2097543015
  1629. local BODY = 2097543382
  1630. local PROJECTILE = 2097544084
  1631. local AOE = 2097544884
  1632. local ULTIMATE = 2097545381
  1633.  
  1634. local ATTACKS = {{"Switch ScreenBehaviour","m"},{";Fling","z",AOE,Fling},{";TpTo","x",BODY,TpTo},{";Hurl","c",PROJECTILE,Hurl},{";Kill","v",MOUSE,Kill}}
  1635. local GUIS = {}
  1636.  
  1637. for i = 1, #ATTACKS do
  1638. local SKILLFRAME = CreateFrame(WEAPONGUI, 0.8, 2, UD2(1-(0.3*(SIZE/5)), 0, 1-((0.08*(SIZE/5))*i), 0), UD2(0.3*(SIZE/5), 0, 0.06*(SIZE/4), 0), C3(0,0,0), COLOR, "Skill Frame")
  1639. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i][1].."]", COLOR, SIZE, SKILLFONT, 0, 2, 0, "Skill text")
  1640. SKILLTEXT.TextXAlignment = "Right"
  1641. local BUTTONDISPLAY = CreateLabel(SKILLFRAME, "["..string.upper(ATTACKS[i][2]).."]", COLOR, SIZE-1, SKILLFONT, 0, 2, 0, "Skill text")
  1642. BUTTONDISPLAY.TextXAlignment = "Left"
  1643. if ATTACKS[i][3] then
  1644. local IMAGETODISPLAY = IT("ImageLabel",SKILLFRAME)
  1645. IMAGETODISPLAY.Image = "rbxassetid://"..ATTACKS[i][3]
  1646. IMAGETODISPLAY.Size = UD2(0.2,0,1,0)
  1647. IMAGETODISPLAY.Position = UD2(0.065,0,0,0)
  1648. IMAGETODISPLAY.BackgroundTransparency = 1
  1649. IMAGETODISPLAY.ZIndex = 0
  1650. end
  1651. table.insert(GUIS,SKILLTEXT)
  1652. end
  1653.  
  1654. Mouse.Button1Down:connect(function(NEWKEY)
  1655.  
  1656. end)
  1657. Mouse.Button1Up:connect(function(NEWKEY)
  1658.  
  1659. end)
  1660. Mouse.KeyDown:connect(function(NEWKEY)
  1661. KEYHOLD = true
  1662. if NEWKEY == "m" then
  1663. if SC == false then
  1664. SC = true
  1665. else
  1666. SC = false
  1667. end
  1668. end
  1669. if ATTACK == false then
  1670. for E = 1, #ATTACKS do
  1671. if ATTACKS[E][4] ~= nil then
  1672. if NEWKEY == ATTACKS[E][2] then
  1673. ATTACKS[E][4]()
  1674. end
  1675. end
  1676. end
  1677. end
  1678. end)
  1679. Mouse.KeyUp:connect(function(NEWKEY)
  1680. KEYHOLD = false
  1681. end)
  1682.  
  1683. --//=================================\\
  1684. --\\=================================//
  1685.  
  1686. function unanchor()
  1687. for _, c in pairs(Character:GetChildren()) do
  1688. if c:IsA("BasePart") and c ~= RootPart then
  1689. c.Anchored = false
  1690. end
  1691. end
  1692. if UNANCHOR == true then
  1693. RootPart.Anchored = false
  1694. else
  1695. RootPart.Anchored = true
  1696. end
  1697. end
  1698.  
  1699. --//=================================\\
  1700. --|| WRAP THE WHOLE SCRIPT UP
  1701. --\\=================================//
  1702.  
  1703. Humanoid.Changed:connect(function(Jump)
  1704. if Jump == "Jump" and (Disable_Jump == true) then
  1705. Humanoid.Jump = false
  1706. end
  1707. end)
  1708.  
  1709. local MOVINGSCREENS = false
  1710. local TIMESTAMP = 0
  1711. while true do
  1712. Swait()
  1713. script.Parent = WEAPONGUI
  1714. ANIMATE.Parent = nil
  1715. ANIMATOR.Parent = nil
  1716. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1717. v:Stop();
  1718. end
  1719. SINE = SINE + CHANGE
  1720. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1721. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1722. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1723. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 16)
  1724. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1725. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1726. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1727. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1728. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.25 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-10+50 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1729. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1730. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1731. 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)
  1732. 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.7 / Animation_Speed)
  1733. 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.7 / Animation_Speed)
  1734. end
  1735. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1736. ANIM = "Jump"
  1737. if ATTACK == false then
  1738. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1739. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1740. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1741. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1742. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1743. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1744. end
  1745. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1746. ANIM = "Fall"
  1747. if ATTACK == false then
  1748. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1749. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1750. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1751. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1752. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1753. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1754. end
  1755. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1756. ANIM = "Idle"
  1757. if ATTACK == false then
  1758. if MRANDOM(1,650) == 1 and LITTLEIDLE == false then
  1759. LITTLEIDLE = true
  1760. UniqueIdleAnimation()
  1761. end
  1762. if LITTLEIDLE == false then
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * COS(SINE / 24), 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0 - 2.5 * COS(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(3 - 7 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-45 - 1.5 * COS(SINE / 12)), RAD(0), RAD(-45)) * ANGLES(RAD(0), RAD(25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.35 + 0.1 * COS(SINE / 12), 0.2) * ANGLES(RAD(-44 - 1.5 * COS(SINE / 12)), RAD(0), RAD(45)) * ANGLES(RAD(0), RAD(-25), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-2 - 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.035 * COS(SINE / 24) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-2 + 2.5 * COS(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1769. end
  1770. end
  1771. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1772. ANIM = "Walk"
  1773. if ATTACK == false then
  1774. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(5), RAD(0), RAD(-7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1775. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(7 * COS(SINE / (WALKSPEEDVALUE)))), 1 / Animation_Speed)
  1776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(-5), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(5), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1778. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1779. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1780. end
  1781. end
  1782. for _, c in pairs(Character:GetChildren()) do
  1783. if c:IsA("Accessory") then
  1784. if c.Name == "Nerd Glasses" then
  1785. c:Destroy()
  1786. end
  1787. end
  1788. end
  1789. unanchor()
  1790. Humanoid.MaxHealth = 1e3
  1791. Humanoid.Health = 1e3
  1792. if Rooted == false then
  1793. Disable_Jump = false
  1794. Humanoid.WalkSpeed = Speed
  1795. elseif Rooted == true then
  1796. Disable_Jump = true
  1797. Humanoid.WalkSpeed = 0
  1798. end
  1799. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1800. BMUSIC.Looped = true
  1801. BMUSIC.Pitch = PITCH
  1802. BMUSIC.Volume = VOLUME
  1803. BMUSIC.Playing = PLAYING
  1804. BMUSIC.EmitterSize = 50
  1805. if BMUSIC.Parent ~= RootPart then
  1806. print("Fixing music")
  1807. BMUSIC = IT("Sound",RootPart)
  1808. BMUSIC.SoundId = "rbxassetid://"..SONGID
  1809. BMUSIC.Looped = true
  1810. BMUSIC.Pitch = PITCH
  1811. BMUSIC.Volume = VOLUME
  1812. BMUSIC.Playing = true
  1813. BMUSIC.EmitterSize = 50
  1814. BMUSIC.TimePosition = TIMESTAMP
  1815. FIXING = true
  1816. else
  1817. if FIXING == false then
  1818. TIMESTAMP = BMUSIC.TimePosition
  1819. else
  1820. FIXING = false
  1821. end
  1822. end
  1823. if Head:FindFirstChild("face") then
  1824. Head.face.Texture = "rbxassetid://62682458"
  1825. end
  1826. Humanoid.Name = "ADMIN"
  1827. if INTRO == false and ATTACK == false then
  1828. INTRO = true
  1829. coroutine.resume(coroutine.create(function()
  1830. IntroThing()
  1831. end))
  1832. end
  1833. if #SCREENS > 0 then
  1834. for E = 1, #SCREENS do
  1835. SCREENS[E].Transparency = MRANDOM(90,99)/100
  1836. end
  1837. end
  1838. if #SCREENWELDS > 0 then
  1839. if SC == true then
  1840. if MRANDOM(1,75) == 1 and MOVINGSCREENS == false then
  1841. MOVINGSCREENS = true
  1842. coroutine.resume(coroutine.create(function()
  1843. wait(1)
  1844. MOVINGSCREENS = false
  1845. end))
  1846. for E = 1, #SCREENWELDS do
  1847. coroutine.resume(coroutine.create(function()
  1848. local MATH1 = MRANDOM(-25,25)/10+1
  1849. local MATH2 = MRANDOM(-45,45)
  1850. for i = 1, 55 do
  1851. Swait()
  1852. SCREENWELDS[E].C0 = Clerp(SCREENWELDS[E].C0, CF(0,MATH1,0) * ANGLES(RAD(0), RAD(MATH2+180), RAD(0)) * CF(0,0,3+(E/1.5)),0.1)
  1853. end
  1854. end))
  1855. end
  1856. end
  1857. elseif SC == false then
  1858. for E = 1, #SCREENWELDS do
  1859. if E == 1 then
  1860. SCREENWELDS[E].C0 = Clerp(SCREENWELDS[E].C0, CF(0,-1 + 0.05 * COS(SINE / 12),0) * ANGLES(RAD(0), RAD(-40+180), RAD(0)) * CF(0,0,3.4),0.1)
  1861. elseif E == 2 then
  1862. SCREENWELDS[E].C0 = Clerp(SCREENWELDS[E].C0, CF(0,-1 + 0.05 * SIN(SINE / 12),0) * ANGLES(RAD(0), RAD(40+180), RAD(0)) * CF(0,0,3.4),0.1)
  1863. elseif E == 3 then
  1864. SCREENWELDS[E].C0 = Clerp(SCREENWELDS[E].C0, CF(0,1.3 + 0.05 * SIN(SINE / 12),0) * ANGLES(RAD(0), RAD(-38+180), RAD(0)) * CF(0,0,3.4),0.1)
  1865. elseif E == 4 then
  1866. SCREENWELDS[E].C0 = Clerp(SCREENWELDS[E].C0, CF(0,1.3 + 0.05 * COS(SINE / 12),0) * ANGLES(RAD(0), RAD(38+180), RAD(0)) * CF(0,0,3.4),0.1)
  1867. end
  1868. end
  1869. end
  1870. end
  1871. local SECONDS = math.floor(workspace.DistributedGameTime)
  1872. local MINUTES = math.floor(workspace.DistributedGameTime/60)
  1873. local HOURS = math.floor(workspace.DistributedGameTime/60/60)
  1874. local SECONDS = SECONDS - (MINUTES * 60)
  1875. local MINUTES = MINUTES - (HOURS * 60)
  1876. if #GUISTEXT > 0 then
  1877. for E = 1, #GUISTEXT do
  1878. local TXT = GUISTEXT[E]
  1879. if E == 1 then
  1880. TXT.Text = "SERVER STATS;"
  1881. elseif E == 2 then
  1882. TXT.Text = "SERVER TIME = ["..SECONDS..":"..MINUTES..":"..HOURS.."]"
  1883. elseif E == 3 then
  1884. TXT.Text = "WORKSPACE GRAVITY = ["..workspace.Gravity.."]"
  1885. elseif E == 4 then
  1886. TXT.Text = "SERVER JOBID = ["..game.JobId.."]"
  1887. elseif E == 5 then
  1888. TXT.Text = "SERVER VERSION = ["..game.PlaceVersion.."]"
  1889. end
  1890. end
  1891. end
  1892. local SPACEJECTS = {}
  1893. for index, CHILD in pairs(workspace:GetChildren()) do
  1894. table.insert(SPACEJECTS,CHILD)
  1895. end
  1896. table.insert(SPACEJECTS,game.Lighting)
  1897. table.insert(SPACEJECTS,game.Workspace)
  1898. local MALWARE = {"BlurEffect","BloomEffect","Fire","ParticleEmitter","Smoke"}
  1899. if #GUISTEXT > 0 then
  1900. if MRANDOM(1,125) == 1 then
  1901. for E = 1, #GUISTEXT do
  1902. local TXT = GUISTEXT[E]
  1903. local TEXT = ""
  1904. local DOINGS = {"MONITORING","CHECKING"}
  1905. local OLDTEXT = string.sub(TXT.Text,3)
  1906. if E > 5 then
  1907. if E <= 15 then
  1908. if MRANDOM(1,3) == 1 then
  1909. repeat
  1910. local MONITORME = SPACEJECTS[MRANDOM(1,#SPACEJECTS)]
  1911. if MRANDOM(1,2) == 1 then
  1912. TEXT = DOINGS[MRANDOM(1,#DOINGS)].."; ["..MONITORME.Name.."]..."
  1913. for Z = 1, #MALWARE do
  1914. if MONITORME:FindFirstChildOfClass(MALWARE[Z]) then
  1915. TEXT = "!FOUND MALICIOUS CONTENT IN ["..MONITORME.Name.."]; FOUND: ["..MALWARE[Z].."]"
  1916. if TEXT ~= OLDTEXT then
  1917. CreateSound(136075117, TXT.Parent.Parent, 0.6, MRANDOM(8,12)/10)
  1918. end
  1919. TXT.TextColor3 = C3(1,0,0)
  1920. break
  1921. else
  1922. TXT.TextColor3 = C3(1,1,1)
  1923. end
  1924. end
  1925. break
  1926. end
  1927. if MRANDOM(1,6) == 1 and TXT.TextColor3 == C3(1,1,1) then
  1928. local ES = {"SUCCES.","!FAILURE!"}
  1929. TEXT = "TESTING FILE #"..MRANDOM(100,999).." ["..ES[MRANDOM(1,#ES)].."]"
  1930. end
  1931. until TEXT ~= ""
  1932. local DESIREDTEXT = ">>"..TEXT
  1933. TXT.Text = DESIREDTEXT
  1934. end
  1935. elseif E > 15 then
  1936. local N = E-15
  1937. local POP = 0
  1938. repeat
  1939. for index, CHILD in pairs(game:GetService("Players"):GetChildren()) do
  1940. POP = POP + 1
  1941. if POP == N then
  1942. TEXT = "MONITORING USER; ".."["..CHILD.Name.."]..."
  1943. break
  1944. else
  1945. TEXT = "NOP"
  1946. end
  1947. end
  1948. until TEXT ~= ""
  1949. if TEXT ~= "NOP" then
  1950. local DESIREDTEXT = ">>"..TEXT
  1951. TXT.Text = DESIREDTEXT
  1952. else
  1953. TXT.Text = ""
  1954. end
  1955. end
  1956. end
  1957. end
  1958. end
  1959. end
  1960. end
  1961.  
  1962. --//=================================\\
  1963. --\\=================================//
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969. --//====================================================\\--
  1970. --|| END OF SCRIPT
  1971. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement