memberhero

Sans Script That I Wont Update :)

Dec 20th, 2020 (edited)
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 75.36 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141. --Converted with ttyyuu12345's model to script plugin v4
  142. function sandbox(var,func)
  143. local env = getfenv(func)
  144. local newenv = setmetatable({},{
  145. __index = function(self,k)
  146. if k=="script" then
  147. return var
  148. else
  149. return env[k]
  150. end
  151. end,
  152. })
  153. setfenv(func,newenv)
  154. return func
  155. end
  156. cors = {}
  157. mas = Instance.new("Model",game:GetService("Lighting"))
  158. Folder0 = Instance.new("Folder")
  159. Script1 = Instance.new("Script")
  160. ScreenGui2 = Instance.new("ScreenGui")
  161. Frame3 = Instance.new("Frame")
  162. Frame4 = Instance.new("Frame")
  163. Frame5 = Instance.new("Frame")
  164. TextLabel6 = Instance.new("TextLabel")
  165. Frame7 = Instance.new("Frame")
  166. Frame8 = Instance.new("Frame")
  167. TextLabel9 = Instance.new("TextLabel")
  168. Frame10 = Instance.new("Frame")
  169. Frame11 = Instance.new("Frame")
  170. TextLabel12 = Instance.new("TextLabel")
  171. Frame13 = Instance.new("Frame")
  172. Frame14 = Instance.new("Frame")
  173. TextLabel15 = Instance.new("TextLabel")
  174. Frame16 = Instance.new("Frame")
  175. Frame17 = Instance.new("Frame")
  176. TextLabel18 = Instance.new("TextLabel")
  177. Frame19 = Instance.new("Frame")
  178. Frame20 = Instance.new("Frame")
  179. TextLabel21 = Instance.new("TextLabel")
  180. Frame22 = Instance.new("Frame")
  181. Frame23 = Instance.new("Frame")
  182. TextLabel24 = Instance.new("TextLabel")
  183. Frame25 = Instance.new("Frame")
  184. Frame26 = Instance.new("Frame")
  185. TextLabel27 = Instance.new("TextLabel")
  186. Configuration28 = Instance.new("Configuration")
  187. NumberValue29 = Instance.new("NumberValue")
  188. NumberValue30 = Instance.new("NumberValue")
  189. NumberValue31 = Instance.new("NumberValue")
  190. BoolValue32 = Instance.new("BoolValue")
  191. NumberValue33 = Instance.new("NumberValue")
  192. Folder0.Name = "Meshes"
  193. Folder0.Parent = mas
  194. Script1.Name = "color"
  195. table.insert(cors,sandbox(Script1,function()
  196.  
  197. wait()
  198.  
  199. local maingui = script.Parent
  200. local char = script.Parent.Parent.Parent
  201.  
  202. while true do wait()
  203. maingui.OuterFrame.BackgroundColor3 = Color3.fromRGB(75,75,75)
  204. maingui.OuterFrame.BorderColor3 = Color3.fromRGB(117,117,117)
  205. maingui.OuterFrame.Background.BackgroundColor3 = char.Torso.Color
  206. maingui.OuterFrame.Background.BorderColor3 = Color3.fromRGB(10,10,10)
  207. maingui.OuterFrame.Profile.BackgroundColor3 = char.Torso.Color
  208. maingui.OuterFrame.Profile.BorderColor3 = Color3.fromRGB(10,10,10)
  209. end
  210.  
  211. end))
  212. Script1.Disabled = true
  213. ScreenGui2.Name = "SkillGui"
  214. ScreenGui2.Parent = mas
  215. Frame3.Name = "Main"
  216. Frame3.Parent = ScreenGui2
  217. Frame3.Position = UDim2.new(0.725000024, 0, 0.800000012, 0)
  218. Frame3.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
  219. Frame3.BackgroundColor = BrickColor.new("Institutional white")
  220. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  221. Frame3.BackgroundTransparency = 1
  222. Frame3.BorderSizePixel = 0
  223. Frame4.Name = "Z"
  224. Frame4.Parent = Frame3
  225. Frame4.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  226. Frame4.BackgroundColor = BrickColor.new("Institutional white")
  227. Frame4.BackgroundColor3 = Color3.new(1, 1, 1)
  228. Frame4.BackgroundTransparency = 1
  229. Frame5.Name = "Main"
  230. Frame5.Parent = Frame4
  231. Frame5.Size = UDim2.new(1, 0, 0.0500000007, 0)
  232. Frame5.BackgroundColor = BrickColor.new("Deep orange")
  233. Frame5.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  234. Frame5.BorderSizePixel = 0
  235. TextLabel6.Name = "SkillName"
  236. TextLabel6.Parent = Frame4
  237. TextLabel6.Size = UDim2.new(0.200000003, 0, 1, 0)
  238. TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
  239. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  240. TextLabel6.BackgroundTransparency = 1
  241. TextLabel6.Font = Enum.Font.SourceSans
  242. TextLabel6.FontSize = Enum.FontSize.Size18
  243. TextLabel6.Text = "Z"
  244. TextLabel6.TextColor = BrickColor.new("Institutional white")
  245. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  246. TextLabel6.TextSize = 17
  247. TextLabel6.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  248. TextLabel6.TextStrokeTransparency = 0.5
  249. TextLabel6.TextXAlignment = Enum.TextXAlignment.Left
  250. TextLabel6.TextYAlignment = Enum.TextYAlignment.Top
  251. Frame7.Name = "X"
  252. Frame7.Parent = Frame3
  253. Frame7.Position = UDim2.new(0, 0, 0.25, 0)
  254. Frame7.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  255. Frame7.BackgroundColor = BrickColor.new("Institutional white")
  256. Frame7.BackgroundColor3 = Color3.new(1, 1, 1)
  257. Frame7.BackgroundTransparency = 1
  258. Frame8.Name = "Main"
  259. Frame8.Parent = Frame7
  260. Frame8.Size = UDim2.new(1, 0, 0.0500000007, 0)
  261. Frame8.BackgroundColor = BrickColor.new("Deep orange")
  262. Frame8.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  263. Frame8.BorderSizePixel = 0
  264. TextLabel9.Name = "SkillName"
  265. TextLabel9.Parent = Frame7
  266. TextLabel9.Size = UDim2.new(0.200000003, 0, 1, 0)
  267. TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
  268. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  269. TextLabel9.BackgroundTransparency = 1
  270. TextLabel9.Font = Enum.Font.SourceSans
  271. TextLabel9.FontSize = Enum.FontSize.Size18
  272. TextLabel9.Text = "X"
  273. TextLabel9.TextColor = BrickColor.new("Institutional white")
  274. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  275. TextLabel9.TextSize = 17
  276. TextLabel9.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  277. TextLabel9.TextStrokeTransparency = 0.5
  278. TextLabel9.TextXAlignment = Enum.TextXAlignment.Left
  279. TextLabel9.TextYAlignment = Enum.TextYAlignment.Top
  280. Frame10.Name = "C"
  281. Frame10.Parent = Frame3
  282. Frame10.Position = UDim2.new(0, 0, 0.5, 0)
  283. Frame10.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  284. Frame10.BackgroundColor = BrickColor.new("Institutional white")
  285. Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
  286. Frame10.BackgroundTransparency = 1
  287. Frame11.Name = "Main"
  288. Frame11.Parent = Frame10
  289. Frame11.Size = UDim2.new(1, 0, 0.0500000007, 0)
  290. Frame11.BackgroundColor = BrickColor.new("Deep orange")
  291. Frame11.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  292. Frame11.BorderSizePixel = 0
  293. TextLabel12.Name = "SkillName"
  294. TextLabel12.Parent = Frame10
  295. TextLabel12.Size = UDim2.new(0.200000003, 0, 1, 0)
  296. TextLabel12.BackgroundColor = BrickColor.new("Institutional white")
  297. TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
  298. TextLabel12.BackgroundTransparency = 1
  299. TextLabel12.Font = Enum.Font.SourceSans
  300. TextLabel12.FontSize = Enum.FontSize.Size18
  301. TextLabel12.Text = "C"
  302. TextLabel12.TextColor = BrickColor.new("Institutional white")
  303. TextLabel12.TextColor3 = Color3.new(1, 1, 1)
  304. TextLabel12.TextSize = 17
  305. TextLabel12.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  306. TextLabel12.TextStrokeTransparency = 0.5
  307. TextLabel12.TextXAlignment = Enum.TextXAlignment.Left
  308. TextLabel12.TextYAlignment = Enum.TextYAlignment.Top
  309. Frame13.Name = "V"
  310. Frame13.Parent = Frame3
  311. Frame13.Position = UDim2.new(0, 0, 0.75, 0)
  312. Frame13.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  313. Frame13.BackgroundColor = BrickColor.new("Institutional white")
  314. Frame13.BackgroundColor3 = Color3.new(1, 1, 1)
  315. Frame13.BackgroundTransparency = 1
  316. Frame14.Name = "Main"
  317. Frame14.Parent = Frame13
  318. Frame14.Size = UDim2.new(1, 0, 0.0500000007, 0)
  319. Frame14.BackgroundColor = BrickColor.new("Deep orange")
  320. Frame14.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  321. Frame14.BorderSizePixel = 0
  322. TextLabel15.Name = "SkillName"
  323. TextLabel15.Parent = Frame13
  324. TextLabel15.Size = UDim2.new(0.200000003, 0, 1, 0)
  325. TextLabel15.BackgroundColor = BrickColor.new("Institutional white")
  326. TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
  327. TextLabel15.BackgroundTransparency = 1
  328. TextLabel15.Font = Enum.Font.SourceSans
  329. TextLabel15.FontSize = Enum.FontSize.Size18
  330. TextLabel15.Text = "V"
  331. TextLabel15.TextColor = BrickColor.new("Institutional white")
  332. TextLabel15.TextColor3 = Color3.new(1, 1, 1)
  333. TextLabel15.TextSize = 17
  334. TextLabel15.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  335. TextLabel15.TextStrokeTransparency = 0.5
  336. TextLabel15.TextXAlignment = Enum.TextXAlignment.Left
  337. TextLabel15.TextYAlignment = Enum.TextYAlignment.Top
  338. Frame16.Name = "ASE"
  339. Frame16.Parent = Frame3
  340. Frame16.Position = UDim2.new(0.5, 0, 0, 0)
  341. Frame16.Visible = false
  342. Frame16.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  343. Frame16.BackgroundColor = BrickColor.new("Institutional white")
  344. Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
  345. Frame16.BackgroundTransparency = 1
  346. Frame17.Name = "Main"
  347. Frame17.Parent = Frame16
  348. Frame17.Size = UDim2.new(1, 0, 0.0500000007, 0)
  349. Frame17.BackgroundColor = BrickColor.new("New Yeller")
  350. Frame17.BackgroundColor3 = Color3.new(1, 1, 0)
  351. Frame17.BorderSizePixel = 0
  352. TextLabel18.Name = "SkillName"
  353. TextLabel18.Parent = Frame16
  354. TextLabel18.Size = UDim2.new(0.200000003, 0, 1, 0)
  355. TextLabel18.BackgroundColor = BrickColor.new("Institutional white")
  356. TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1)
  357. TextLabel18.BackgroundTransparency = 1
  358. TextLabel18.Font = Enum.Font.SourceSans
  359. TextLabel18.FontSize = Enum.FontSize.Size18
  360. TextLabel18.Text = "ASE"
  361. TextLabel18.TextColor = BrickColor.new("Institutional white")
  362. TextLabel18.TextColor3 = Color3.new(1, 1, 1)
  363. TextLabel18.TextSize = 17
  364. TextLabel18.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  365. TextLabel18.TextStrokeTransparency = 0.5
  366. TextLabel18.TextXAlignment = Enum.TextXAlignment.Left
  367. TextLabel18.TextYAlignment = Enum.TextYAlignment.Top
  368. Frame19.Name = "DSDR"
  369. Frame19.Parent = Frame3
  370. Frame19.Position = UDim2.new(0.5, 0, 0.25, 0)
  371. Frame19.Visible = false
  372. Frame19.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  373. Frame19.BackgroundColor = BrickColor.new("Institutional white")
  374. Frame19.BackgroundColor3 = Color3.new(1, 1, 1)
  375. Frame19.BackgroundTransparency = 1
  376. Frame20.Name = "Main"
  377. Frame20.Parent = Frame19
  378. Frame20.Size = UDim2.new(1, 0, 0.0500000007, 0)
  379. Frame20.BackgroundColor = BrickColor.new("New Yeller")
  380. Frame20.BackgroundColor3 = Color3.new(1, 1, 0)
  381. Frame20.BorderSizePixel = 0
  382. TextLabel21.Name = "SkillName"
  383. TextLabel21.Parent = Frame19
  384. TextLabel21.Size = UDim2.new(0.200000003, 0, 1, 0)
  385. TextLabel21.BackgroundColor = BrickColor.new("Institutional white")
  386. TextLabel21.BackgroundColor3 = Color3.new(1, 1, 1)
  387. TextLabel21.BackgroundTransparency = 1
  388. TextLabel21.Font = Enum.Font.SourceSans
  389. TextLabel21.FontSize = Enum.FontSize.Size18
  390. TextLabel21.Text = "DSDR"
  391. TextLabel21.TextColor = BrickColor.new("Institutional white")
  392. TextLabel21.TextColor3 = Color3.new(1, 1, 1)
  393. TextLabel21.TextSize = 17
  394. TextLabel21.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  395. TextLabel21.TextStrokeTransparency = 0.5
  396. TextLabel21.TextXAlignment = Enum.TextXAlignment.Left
  397. TextLabel21.TextYAlignment = Enum.TextYAlignment.Top
  398. Frame22.Name = "ASDER"
  399. Frame22.Parent = Frame3
  400. Frame22.Position = UDim2.new(0.5, 0, 0.5, 0)
  401. Frame22.Visible = false
  402. Frame22.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  403. Frame22.BackgroundColor = BrickColor.new("Institutional white")
  404. Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
  405. Frame22.BackgroundTransparency = 1
  406. Frame23.Name = "Main"
  407. Frame23.Parent = Frame22
  408. Frame23.Size = UDim2.new(1, 0, 0.0500000007, 0)
  409. Frame23.BackgroundColor = BrickColor.new("Really red")
  410. Frame23.BackgroundColor3 = Color3.new(1, 0, 0)
  411. Frame23.BorderSizePixel = 0
  412. TextLabel24.Name = "SkillName"
  413. TextLabel24.Parent = Frame22
  414. TextLabel24.Size = UDim2.new(0.200000003, 0, 1, 0)
  415. TextLabel24.BackgroundColor = BrickColor.new("Institutional white")
  416. TextLabel24.BackgroundColor3 = Color3.new(1, 1, 1)
  417. TextLabel24.BackgroundTransparency = 1
  418. TextLabel24.Font = Enum.Font.SourceSans
  419. TextLabel24.FontSize = Enum.FontSize.Size18
  420. TextLabel24.Text = "ASDER"
  421. TextLabel24.TextColor = BrickColor.new("Institutional white")
  422. TextLabel24.TextColor3 = Color3.new(1, 1, 1)
  423. TextLabel24.TextSize = 17
  424. TextLabel24.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  425. TextLabel24.TextStrokeTransparency = 0.5
  426. TextLabel24.TextXAlignment = Enum.TextXAlignment.Left
  427. TextLabel24.TextYAlignment = Enum.TextYAlignment.Top
  428. Frame25.Name = "T"
  429. Frame25.Parent = Frame3
  430. Frame25.Position = UDim2.new(0.25, 0, -0.25, 0)
  431. Frame25.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  432. Frame25.BackgroundColor = BrickColor.new("Institutional white")
  433. Frame25.BackgroundColor3 = Color3.new(1, 1, 1)
  434. Frame25.BackgroundTransparency = 1
  435. Frame26.Name = "Main"
  436. Frame26.Parent = Frame25
  437. Frame26.Size = UDim2.new(1, 0, 0.0500000007, 0)
  438. Frame26.BackgroundColor = BrickColor.new("Institutional white")
  439. Frame26.BackgroundColor3 = Color3.new(1, 1, 1)
  440. Frame26.BorderSizePixel = 0
  441. TextLabel27.Name = "SkillName"
  442. TextLabel27.Parent = Frame25
  443. TextLabel27.Size = UDim2.new(0.200000003, 0, 1, 0)
  444. TextLabel27.BackgroundColor = BrickColor.new("Institutional white")
  445. TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
  446. TextLabel27.BackgroundTransparency = 1
  447. TextLabel27.Font = Enum.Font.SourceSans
  448. TextLabel27.FontSize = Enum.FontSize.Size18
  449. TextLabel27.Text = "T - Taunt"
  450. TextLabel27.TextColor = BrickColor.new("Institutional white")
  451. TextLabel27.TextColor3 = Color3.new(1, 1, 1)
  452. TextLabel27.TextSize = 17
  453. TextLabel27.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  454. TextLabel27.TextStrokeTransparency = 0.5
  455. TextLabel27.TextXAlignment = Enum.TextXAlignment.Left
  456. TextLabel27.TextYAlignment = Enum.TextYAlignment.Top
  457. Configuration28.Name = "Stats"
  458. Configuration28.Parent = mas
  459. NumberValue29.Name = "BaseDamage"
  460. NumberValue29.Parent = Configuration28
  461. NumberValue29.Value = 10
  462. NumberValue30.Name = "AtkSpeed"
  463. NumberValue30.Parent = Configuration28
  464. NumberValue30.Value = 1
  465. NumberValue31.Name = "AtkRange"
  466. NumberValue31.Parent = Configuration28
  467. NumberValue31.Value = 5
  468. BoolValue32.Name = "CanCastAbilities"
  469. BoolValue32.Parent = Configuration28
  470. BoolValue32.Value = true
  471. NumberValue33.Name = "FPS"
  472. NumberValue33.Parent = Configuration28
  473. NumberValue33.Value = 62
  474. for i,v in pairs(mas:GetChildren()) do
  475. v.Parent = script
  476. pcall(function() v:MakeJoints() end)
  477. end
  478. mas:Destroy()
  479. for i,v in pairs(cors) do
  480. spawn(function()
  481. pcall(v)
  482. end)
  483. end
  484.  
  485. --Converted with ttyyuu12345's model to script plugin v4
  486. function sandbox(var,func)
  487. local env = getfenv(func)
  488. local newenv = setmetatable({},{
  489. __index = function(self,k)
  490. if k=="script" then
  491. return var
  492. else
  493. return env[k]
  494. end
  495. end,
  496. })
  497. setfenv(func,newenv)
  498. return func
  499. end
  500. cors = {}
  501. mas = Instance.new("Model",game:GetService("Lighting"))
  502. Folder34 = Instance.new("Folder")
  503. Script35 = Instance.new("Script")
  504. ScreenGui36 = Instance.new("ScreenGui")
  505. Frame37 = Instance.new("Frame")
  506. Frame38 = Instance.new("Frame")
  507. Frame39 = Instance.new("Frame")
  508. TextLabel40 = Instance.new("TextLabel")
  509. Frame41 = Instance.new("Frame")
  510. Frame42 = Instance.new("Frame")
  511. TextLabel43 = Instance.new("TextLabel")
  512. Frame44 = Instance.new("Frame")
  513. Frame45 = Instance.new("Frame")
  514. TextLabel46 = Instance.new("TextLabel")
  515. Frame47 = Instance.new("Frame")
  516. Frame48 = Instance.new("Frame")
  517. TextLabel49 = Instance.new("TextLabel")
  518. Frame50 = Instance.new("Frame")
  519. Frame51 = Instance.new("Frame")
  520. TextLabel52 = Instance.new("TextLabel")
  521. Frame53 = Instance.new("Frame")
  522. Frame54 = Instance.new("Frame")
  523. TextLabel55 = Instance.new("TextLabel")
  524. Frame56 = Instance.new("Frame")
  525. Frame57 = Instance.new("Frame")
  526. TextLabel58 = Instance.new("TextLabel")
  527. Frame59 = Instance.new("Frame")
  528. Frame60 = Instance.new("Frame")
  529. TextLabel61 = Instance.new("TextLabel")
  530. Configuration62 = Instance.new("Configuration")
  531. NumberValue63 = Instance.new("NumberValue")
  532. NumberValue64 = Instance.new("NumberValue")
  533. NumberValue65 = Instance.new("NumberValue")
  534. BoolValue66 = Instance.new("BoolValue")
  535. NumberValue67 = Instance.new("NumberValue")
  536. Folder34.Name = "Meshes"
  537. Folder34.Parent = mas
  538. Script35.Name = "color"
  539. Script35.Parent = mas
  540. table.insert(cors,sandbox(Script35,function()
  541.  
  542. wait()
  543.  
  544. local maingui = script.Parent
  545. local char = script.Parent.Parent.Parent
  546.  
  547. while true do wait()
  548. maingui.OuterFrame.BackgroundColor3 = Color3.fromRGB(75,75,75)
  549. maingui.OuterFrame.BorderColor3 = Color3.fromRGB(117,117,117)
  550. maingui.OuterFrame.Background.BackgroundColor3 = char.Torso.Color
  551. maingui.OuterFrame.Background.BorderColor3 = Color3.fromRGB(10,10,10)
  552. maingui.OuterFrame.Profile.BackgroundColor3 = char.Torso.Color
  553. maingui.OuterFrame.Profile.BorderColor3 = Color3.fromRGB(10,10,10)
  554. end
  555.  
  556. end))
  557. Script35.Disabled = true
  558. ScreenGui36.Name = "SkillGui"
  559. ScreenGui36.Parent = mas
  560. Frame37.Name = "Main"
  561. Frame37.Parent = ScreenGui36
  562. Frame37.Position = UDim2.new(0.725000024, 0, 0.800000012, 0)
  563. Frame37.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
  564. Frame37.BackgroundColor = BrickColor.new("Institutional white")
  565. Frame37.BackgroundColor3 = Color3.new(1, 1, 1)
  566. Frame37.BackgroundTransparency = 1
  567. Frame37.BorderSizePixel = 0
  568. Frame38.Name = "Z"
  569. Frame38.Parent = Frame37
  570. Frame38.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  571. Frame38.BackgroundColor = BrickColor.new("Institutional white")
  572. Frame38.BackgroundColor3 = Color3.new(1, 1, 1)
  573. Frame38.BackgroundTransparency = 1
  574. Frame39.Name = "Main"
  575. Frame39.Parent = Frame38
  576. Frame39.Size = UDim2.new(1, 0, 0.0500000007, 0)
  577. Frame39.BackgroundColor = BrickColor.new("Deep orange")
  578. Frame39.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  579. Frame39.BorderSizePixel = 0
  580. TextLabel40.Name = "SkillName"
  581. TextLabel40.Parent = Frame38
  582. TextLabel40.Size = UDim2.new(0.200000003, 0, 1, 0)
  583. TextLabel40.BackgroundColor = BrickColor.new("Institutional white")
  584. TextLabel40.BackgroundColor3 = Color3.new(1, 1, 1)
  585. TextLabel40.BackgroundTransparency = 1
  586. TextLabel40.Font = Enum.Font.SourceSans
  587. TextLabel40.FontSize = Enum.FontSize.Size18
  588. TextLabel40.Text = "Z"
  589. TextLabel40.TextColor = BrickColor.new("Institutional white")
  590. TextLabel40.TextColor3 = Color3.new(1, 1, 1)
  591. TextLabel40.TextSize = 17
  592. TextLabel40.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  593. TextLabel40.TextStrokeTransparency = 0.5
  594. TextLabel40.TextXAlignment = Enum.TextXAlignment.Left
  595. TextLabel40.TextYAlignment = Enum.TextYAlignment.Top
  596. Frame41.Name = "X"
  597. Frame41.Parent = Frame37
  598. Frame41.Position = UDim2.new(0, 0, 0.25, 0)
  599. Frame41.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  600. Frame41.BackgroundColor = BrickColor.new("Institutional white")
  601. Frame41.BackgroundColor3 = Color3.new(1, 1, 1)
  602. Frame41.BackgroundTransparency = 1
  603. Frame42.Name = "Main"
  604. Frame42.Parent = Frame41
  605. Frame42.Size = UDim2.new(1, 0, 0.0500000007, 0)
  606. Frame42.BackgroundColor = BrickColor.new("Deep orange")
  607. Frame42.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  608. Frame42.BorderSizePixel = 0
  609. TextLabel43.Name = "SkillName"
  610. TextLabel43.Parent = Frame41
  611. TextLabel43.Size = UDim2.new(0.200000003, 0, 1, 0)
  612. TextLabel43.BackgroundColor = BrickColor.new("Institutional white")
  613. TextLabel43.BackgroundColor3 = Color3.new(1, 1, 1)
  614. TextLabel43.BackgroundTransparency = 1
  615. TextLabel43.Font = Enum.Font.SourceSans
  616. TextLabel43.FontSize = Enum.FontSize.Size18
  617. TextLabel43.Text = "X"
  618. TextLabel43.TextColor = BrickColor.new("Institutional white")
  619. TextLabel43.TextColor3 = Color3.new(1, 1, 1)
  620. TextLabel43.TextSize = 17
  621. TextLabel43.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  622. TextLabel43.TextStrokeTransparency = 0.5
  623. TextLabel43.TextXAlignment = Enum.TextXAlignment.Left
  624. TextLabel43.TextYAlignment = Enum.TextYAlignment.Top
  625. Frame44.Name = "C"
  626. Frame44.Parent = Frame37
  627. Frame44.Position = UDim2.new(0, 0, 0.5, 0)
  628. Frame44.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  629. Frame44.BackgroundColor = BrickColor.new("Institutional white")
  630. Frame44.BackgroundColor3 = Color3.new(1, 1, 1)
  631. Frame44.BackgroundTransparency = 1
  632. Frame45.Name = "Main"
  633. Frame45.Parent = Frame44
  634. Frame45.Size = UDim2.new(1, 0, 0.0500000007, 0)
  635. Frame45.BackgroundColor = BrickColor.new("Deep orange")
  636. Frame45.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  637. Frame45.BorderSizePixel = 0
  638. TextLabel46.Name = "SkillName"
  639. TextLabel46.Parent = Frame44
  640. TextLabel46.Size = UDim2.new(0.200000003, 0, 1, 0)
  641. TextLabel46.BackgroundColor = BrickColor.new("Institutional white")
  642. TextLabel46.BackgroundColor3 = Color3.new(1, 1, 1)
  643. TextLabel46.BackgroundTransparency = 1
  644. TextLabel46.Font = Enum.Font.SourceSans
  645. TextLabel46.FontSize = Enum.FontSize.Size18
  646. TextLabel46.Text = "C"
  647. TextLabel46.TextColor = BrickColor.new("Institutional white")
  648. TextLabel46.TextColor3 = Color3.new(1, 1, 1)
  649. TextLabel46.TextSize = 17
  650. TextLabel46.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  651. TextLabel46.TextStrokeTransparency = 0.5
  652. TextLabel46.TextXAlignment = Enum.TextXAlignment.Left
  653. TextLabel46.TextYAlignment = Enum.TextYAlignment.Top
  654. Frame47.Name = "V"
  655. Frame47.Parent = Frame37
  656. Frame47.Position = UDim2.new(0, 0, 0.75, 0)
  657. Frame47.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  658. Frame47.BackgroundColor = BrickColor.new("Institutional white")
  659. Frame47.BackgroundColor3 = Color3.new(1, 1, 1)
  660. Frame47.BackgroundTransparency = 1
  661. Frame48.Name = "Main"
  662. Frame48.Parent = Frame47
  663. Frame48.Size = UDim2.new(1, 0, 0.0500000007, 0)
  664. Frame48.BackgroundColor = BrickColor.new("Deep orange")
  665. Frame48.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  666. Frame48.BorderSizePixel = 0
  667. TextLabel49.Name = "SkillName"
  668. TextLabel49.Parent = Frame47
  669. TextLabel49.Size = UDim2.new(0.200000003, 0, 1, 0)
  670. TextLabel49.BackgroundColor = BrickColor.new("Institutional white")
  671. TextLabel49.BackgroundColor3 = Color3.new(1, 1, 1)
  672. TextLabel49.BackgroundTransparency = 1
  673. TextLabel49.Font = Enum.Font.SourceSans
  674. TextLabel49.FontSize = Enum.FontSize.Size18
  675. TextLabel49.Text = "V"
  676. TextLabel49.TextColor = BrickColor.new("Institutional white")
  677. TextLabel49.TextColor3 = Color3.new(1, 1, 1)
  678. TextLabel49.TextSize = 17
  679. TextLabel49.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  680. TextLabel49.TextStrokeTransparency = 0.5
  681. TextLabel49.TextXAlignment = Enum.TextXAlignment.Left
  682. TextLabel49.TextYAlignment = Enum.TextYAlignment.Top
  683. Frame50.Name = "ASE"
  684. Frame50.Parent = Frame37
  685. Frame50.Position = UDim2.new(0.5, 0, 0, 0)
  686. Frame50.Visible = false
  687. Frame50.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  688. Frame50.BackgroundColor = BrickColor.new("Institutional white")
  689. Frame50.BackgroundColor3 = Color3.new(1, 1, 1)
  690. Frame50.BackgroundTransparency = 1
  691. Frame51.Name = "Main"
  692. Frame51.Parent = Frame50
  693. Frame51.Size = UDim2.new(1, 0, 0.0500000007, 0)
  694. Frame51.BackgroundColor = BrickColor.new("New Yeller")
  695. Frame51.BackgroundColor3 = Color3.new(1, 1, 0)
  696. Frame51.BorderSizePixel = 0
  697. TextLabel52.Name = "SkillName"
  698. TextLabel52.Parent = Frame50
  699. TextLabel52.Size = UDim2.new(0.200000003, 0, 1, 0)
  700. TextLabel52.BackgroundColor = BrickColor.new("Institutional white")
  701. TextLabel52.BackgroundColor3 = Color3.new(1, 1, 1)
  702. TextLabel52.BackgroundTransparency = 1
  703. TextLabel52.Font = Enum.Font.SourceSans
  704. TextLabel52.FontSize = Enum.FontSize.Size18
  705. TextLabel52.Text = "ASE"
  706. TextLabel52.TextColor = BrickColor.new("Institutional white")
  707. TextLabel52.TextColor3 = Color3.new(1, 1, 1)
  708. TextLabel52.TextSize = 17
  709. TextLabel52.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  710. TextLabel52.TextStrokeTransparency = 0.5
  711. TextLabel52.TextXAlignment = Enum.TextXAlignment.Left
  712. TextLabel52.TextYAlignment = Enum.TextYAlignment.Top
  713. Frame53.Name = "DSDR"
  714. Frame53.Parent = Frame37
  715. Frame53.Position = UDim2.new(0.5, 0, 0.25, 0)
  716. Frame53.Visible = false
  717. Frame53.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  718. Frame53.BackgroundColor = BrickColor.new("Institutional white")
  719. Frame53.BackgroundColor3 = Color3.new(1, 1, 1)
  720. Frame53.BackgroundTransparency = 1
  721. Frame54.Name = "Main"
  722. Frame54.Parent = Frame53
  723. Frame54.Size = UDim2.new(1, 0, 0.0500000007, 0)
  724. Frame54.BackgroundColor = BrickColor.new("New Yeller")
  725. Frame54.BackgroundColor3 = Color3.new(1, 1, 0)
  726. Frame54.BorderSizePixel = 0
  727. TextLabel55.Name = "SkillName"
  728. TextLabel55.Parent = Frame53
  729. TextLabel55.Size = UDim2.new(0.200000003, 0, 1, 0)
  730. TextLabel55.BackgroundColor = BrickColor.new("Institutional white")
  731. TextLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
  732. TextLabel55.BackgroundTransparency = 1
  733. TextLabel55.Font = Enum.Font.SourceSans
  734. TextLabel55.FontSize = Enum.FontSize.Size18
  735. TextLabel55.Text = "DSDR"
  736. TextLabel55.TextColor = BrickColor.new("Institutional white")
  737. TextLabel55.TextColor3 = Color3.new(1, 1, 1)
  738. TextLabel55.TextSize = 17
  739. TextLabel55.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  740. TextLabel55.TextStrokeTransparency = 0.5
  741. TextLabel55.TextXAlignment = Enum.TextXAlignment.Left
  742. TextLabel55.TextYAlignment = Enum.TextYAlignment.Top
  743. Frame56.Name = "ASDER"
  744. Frame56.Parent = Frame37
  745. Frame56.Position = UDim2.new(0.5, 0, 0.5, 0)
  746. Frame56.Visible = false
  747. Frame56.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  748. Frame56.BackgroundColor = BrickColor.new("Institutional white")
  749. Frame56.BackgroundColor3 = Color3.new(1, 1, 1)
  750. Frame56.BackgroundTransparency = 1
  751. Frame57.Name = "Main"
  752. Frame57.Parent = Frame56
  753. Frame57.Size = UDim2.new(1, 0, 0.0500000007, 0)
  754. Frame57.BackgroundColor = BrickColor.new("Really red")
  755. Frame57.BackgroundColor3 = Color3.new(1, 0, 0)
  756. Frame57.BorderSizePixel = 0
  757. TextLabel58.Name = "SkillName"
  758. TextLabel58.Parent = Frame56
  759. TextLabel58.Size = UDim2.new(0.200000003, 0, 1, 0)
  760. TextLabel58.BackgroundColor = BrickColor.new("Institutional white")
  761. TextLabel58.BackgroundColor3 = Color3.new(1, 1, 1)
  762. TextLabel58.BackgroundTransparency = 1
  763. TextLabel58.Font = Enum.Font.SourceSans
  764. TextLabel58.FontSize = Enum.FontSize.Size18
  765. TextLabel58.Text = "ASDER"
  766. TextLabel58.TextColor = BrickColor.new("Institutional white")
  767. TextLabel58.TextColor3 = Color3.new(1, 1, 1)
  768. TextLabel58.TextSize = 17
  769. TextLabel58.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  770. TextLabel58.TextStrokeTransparency = 0.5
  771. TextLabel58.TextXAlignment = Enum.TextXAlignment.Left
  772. TextLabel58.TextYAlignment = Enum.TextYAlignment.Top
  773. Frame59.Name = "T"
  774. Frame59.Parent = Frame37
  775. Frame59.Position = UDim2.new(0.25, 0, -0.25, 0)
  776. Frame59.Size = UDim2.new(0.400000006, 0, 0.25, 0)
  777. Frame59.BackgroundColor = BrickColor.new("Institutional white")
  778. Frame59.BackgroundColor3 = Color3.new(1, 1, 1)
  779. Frame59.BackgroundTransparency = 1
  780. Frame60.Name = "Main"
  781. Frame60.Parent = Frame59
  782. Frame60.Size = UDim2.new(1, 0, 0.0500000007, 0)
  783. Frame60.BackgroundColor = BrickColor.new("Institutional white")
  784. Frame60.BackgroundColor3 = Color3.new(1, 1, 1)
  785. Frame60.BorderSizePixel = 0
  786. TextLabel61.Name = "SkillName"
  787. TextLabel61.Parent = Frame59
  788. TextLabel61.Size = UDim2.new(0.200000003, 0, 1, 0)
  789. TextLabel61.BackgroundColor = BrickColor.new("Institutional white")
  790. TextLabel61.BackgroundColor3 = Color3.new(1, 1, 1)
  791. TextLabel61.BackgroundTransparency = 1
  792. TextLabel61.Font = Enum.Font.SourceSans
  793. TextLabel61.FontSize = Enum.FontSize.Size18
  794. TextLabel61.Text = "T - Taunt"
  795. TextLabel61.TextColor = BrickColor.new("Institutional white")
  796. TextLabel61.TextColor3 = Color3.new(1, 1, 1)
  797. TextLabel61.TextSize = 17
  798. TextLabel61.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  799. TextLabel61.TextStrokeTransparency = 0.5
  800. TextLabel61.TextXAlignment = Enum.TextXAlignment.Left
  801. TextLabel61.TextYAlignment = Enum.TextYAlignment.Top
  802. Configuration62.Name = "Stats"
  803. Configuration62.Parent = mas
  804. NumberValue63.Name = "BaseDamage"
  805. NumberValue63.Parent = Configuration62
  806. NumberValue63.Value = 10
  807. NumberValue64.Name = "AtkSpeed"
  808. NumberValue64.Parent = Configuration62
  809. NumberValue64.Value = 1
  810. NumberValue65.Name = "AtkRange"
  811. NumberValue65.Parent = Configuration62
  812. NumberValue65.Value = 5
  813. BoolValue66.Name = "CanCastAbilities"
  814. BoolValue66.Parent = Configuration62
  815. BoolValue66.Value = true
  816. NumberValue67.Name = "FPS"
  817. NumberValue67.Parent = Configuration62
  818. NumberValue67.Value = 62
  819. for i,v in pairs(mas:GetChildren()) do
  820. v.Parent = script
  821. pcall(function() v:MakeJoints() end)
  822. end
  823. mas:Destroy()
  824. for i,v in pairs(mas:GetChildren()) do
  825. v.Parent = script
  826. pcall(function() v:MakeJoints() end)
  827. end
  828. mas:Destroy()
  829. for i,v in pairs(cors) do
  830. spawn(function()
  831. pcall(v)
  832. end)
  833. end
  834. wait(0.2)
  835. ---------------------------------------------------------------
  836. -- Script Made By basstracker1970
  837. -- Sans Class
  838. --Credit to Huge_Nazo for the Template
  839. --[[
  840. __________ _________ .__
  841. \______ \_____ ______ ____ \_ ___ \| | _____ ______ ______
  842. | | _/\__ \ / ___// __ \ / \ \/| | \__ \ / ___// ___/
  843. | | \ / __ \_\___ \\ ___/ \ \___| |__/ __ \_\___ \ \___ \
  844. |______ /(____ /____ >\___ > \______ /____(____ /____ >____ >
  845. \/ \/ \/ \/ \/ \/ \/ \/
  846. ___. .__
  847. \_ |__ ___.__. | |__ __ __ ____ ____ ____ _____ ____________
  848. | __ < | | | | \| | \/ ___\_/ __ \ / \\__ \ \___ / _ \
  849. | \_\ \___ | | Y \ | / /_/ > ___/| | \/ __ \_/ ( <_> )
  850. |___ / ____| |___| /____/\___ / \___ >___| (____ /_____ \____/
  851. \/\/ \/ /_____/ \/ \/ \/ \/
  852.  
  853. --]]
  854. local plr = game.Players.LocalPlayer; repeat wait() until plr.Character
  855. local char = plr.Character
  856. local hume = char:WaitForChild("Humanoid")
  857. local animS = char:WaitForChild("Animate")
  858. local mouse = plr:GetMouse()
  859. --
  860. local head = char:WaitForChild("Head")
  861. local tors = char:WaitForChild("Torso")
  862. local rarm = char:WaitForChild("Right Arm")
  863. local larm = char:WaitForChild("Left Arm")
  864. local rleg = char:WaitForChild("Right Leg")
  865. local lleg = char:WaitForChild("Left Leg")
  866. local hrp = char:WaitForChild("HumanoidRootPart")
  867. --
  868. local hw = tors:WaitForChild("Neck")
  869. local tw = hrp:WaitForChild("RootJoint")
  870. local raw = tors:WaitForChild("Right Shoulder")
  871. local law = tors:WaitForChild("Left Shoulder")
  872. local rlw = tors:WaitForChild("Right Hip")
  873. local llw = tors:WaitForChild("Left Hip")
  874.  
  875. -- Globals --
  876. local uis = game:GetService('UserInputService')
  877. local db = game:GetService("Debris")
  878. local ts = game:GetService("TweenService")
  879. local ti = TweenInfo.new
  880. local v3 = Vector3.new
  881. local cfn = CFrame.new
  882. local cfa = CFrame.Angles
  883. local effects = Instance.new("Model");effects.Parent=tors;effects.Name="effects"
  884.  
  885. -- Global Variables --
  886. local ogdefWS = 16
  887. local defWS = 16
  888. local combostep = 1
  889. local combowait = 2
  890. local combotime = tick()
  891. local framerate = script.Stats:WaitForChild("FPS")
  892. local equipped = false
  893. local active = false
  894. local running = false
  895. local jumping = false
  896. local lwoverride = false
  897. local softoverride = false
  898. local wsoverride = false
  899. local pausedanims = {}
  900. local bAttacks = {}
  901. local bAbilities = {}
  902. local abilities = {
  903. {["name"] = "Z - Gaster Blaster",
  904. ["cd"] = 1,
  905. ["ccd"] = 0,
  906. ["key"] = "Z",
  907. ["ready"] = true,
  908. ["keystroke"] = false,
  909. },
  910. {["name"] = "X - Dual Gaster Blaster",
  911. ["cd"] = 2,
  912. ["ccd"] = 0,
  913. ["key"] = "X",
  914. ["ready"] = true,
  915. ["keystroke"] = false,
  916. },
  917. {["name"] = "C - Giant Gaster Blaster",
  918. ["cd"] = 3,
  919. ["ccd"] = 0,
  920. ["key"] = "C",
  921. ["ready"] = true,
  922. ["keystroke"] = false,
  923. },
  924. {["name"] = "V - Bad Time",
  925. ["cd"] = 4,
  926. ["ccd"] = 0,
  927. ["key"] = "V",
  928. ["ready"] = true,
  929. ["keystroke"] = false,
  930. },
  931. {["name"] = "T - Taunt",
  932. ["cd"] = 5,
  933. ["ccd"] = 0,
  934. ["key"] = "T",
  935. ["ready"] = true,
  936. ["keystroke"] = false,
  937. },
  938. {["name"] = "ASE - None",
  939. ["cd"] = 6,
  940. ["ccd"] = 0,
  941. ["key"] = "ASE",
  942. ["ready"] = true,
  943. ["keystroke"] = true,
  944. },
  945. {["name"] = "DSDR - None",
  946. ["cd"] = 7,
  947. ["ccd"] = 0,
  948. ["key"] = "DSDR",
  949. ["ready"] = true,
  950. ["keystroke"] = true,
  951. },
  952. {["name"] = "ASDER - None",
  953. ["cd"] = 8,
  954. ["ccd"] = 0,
  955. ["key"] = "ASDER",
  956. ["ready"] = true,
  957. ["keystroke"] = true,
  958. },
  959. }
  960. local badtimeabilities = {
  961. {["name"] = "Z - Giant Gaster Blaster",
  962. ["cd"] = 1,
  963. ["ccd"] = 0,
  964. ["key"] = "Z",
  965. ["ready"] = true,
  966. ["keystroke"] = false,
  967. },
  968. {["name"] = "X - Dual Giant Gaster Blaster",
  969. ["cd"] = 2,
  970. ["ccd"] = 0,
  971. ["key"] = "X",
  972. ["ready"] = true,
  973. ["keystroke"] = false,
  974. },
  975. {["name"] = "C - Huge Gaster Blaster",
  976. ["cd"] = 3,
  977. ["ccd"] = 0,
  978. ["key"] = "C",
  979. ["ready"] = true,
  980. ["keystroke"] = false,
  981. },
  982. {["name"] = "V - Gaster Blaster Barrage",
  983. ["cd"] = 4,
  984. ["ccd"] = 0,
  985. ["key"] = "V",
  986. ["ready"] = true,
  987. ["keystroke"] = false,
  988. },
  989. {["name"] = "T - Taunt",
  990. ["cd"] = 5,
  991. ["ccd"] = 0,
  992. ["key"] = "T",
  993. ["ready"] = true,
  994. ["keystroke"] = false,
  995. },
  996. {["name"] = "ASE - None",
  997. ["cd"] = 6,
  998. ["ccd"] = 0,
  999. ["key"] = "ASE",
  1000. ["ready"] = true,
  1001. ["keystroke"] = true,
  1002. },
  1003. {["name"] = "DSDR - None",
  1004. ["cd"] = 7,
  1005. ["ccd"] = 0,
  1006. ["key"] = "DSDR",
  1007. ["ready"] = true,
  1008. ["keystroke"] = true,
  1009. },
  1010. {["name"] = "ASDER - None",
  1011. ["cd"] = 8,
  1012. ["ccd"] = 0,
  1013. ["key"] = "ASDER",
  1014. ["ready"] = true,
  1015. ["keystroke"] = true,
  1016. },
  1017. }
  1018. local gmain = script:WaitForChild("SkillGui")
  1019. local main = gmain:WaitForChild("Main")
  1020. local buttons = {}
  1021. for i,v in ipairs(abilities) do
  1022. buttons[i] = main:WaitForChild(v.key)
  1023. buttons[i]:WaitForChild("Main")
  1024. end
  1025. ----- Extremely Important Functions ------
  1026. ArtificialHB = Instance.new("BindableEvent")
  1027. ArtificialHB.Parent=script
  1028. ArtificialHB.Name="Heartbeat"
  1029. script:WaitForChild("Heartbeat")
  1030. frame = 1 / framerate.Value
  1031. tf = 0
  1032. allowframeloss = false
  1033. tossremainder = false
  1034. lastframe = tick()
  1035. script.Heartbeat:Fire()
  1036. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1037. frame = 1 / framerate.Value
  1038. tf = tf + s
  1039. if tf >= frame then
  1040. if allowframeloss then
  1041. script.Heartbeat:Fire()
  1042. lastframe = tick()
  1043. else
  1044. for i = 1, math.floor(tf / frame) do
  1045. script.Heartbeat:Fire()
  1046. end
  1047. lastframe = tick()
  1048. end
  1049. if tossremainder then
  1050. tf = 0
  1051. else
  1052. tf = tf - frame * math.floor(tf / frame)
  1053. end
  1054. end
  1055. end)
  1056. function swait(num)
  1057. if num == 0 or num == nil then
  1058. ArtificialHB.Event:wait()
  1059. else
  1060. for i = 0, num do
  1061. ArtificialHB.Event:wait()
  1062. end
  1063. end
  1064. end
  1065.  
  1066. function Create(instance,prop)
  1067. local ins = Instance.new(instance)
  1068. for i,v in pairs(prop) do
  1069. if i~="Parent" then
  1070. ins[i]=v
  1071. end
  1072. end
  1073. ins.Parent = prop.Parent or nil
  1074. return ins
  1075. end
  1076.  
  1077. function CreatePart(properties)
  1078. local p=Create("Part",{
  1079. Anchored=true;
  1080. CanCollide=false;
  1081. Material="SmoothPlastic";
  1082. Size=Vector3.new(1,1,1);
  1083. Parent=effects;
  1084. })
  1085. local m=Create("SpecialMesh",{
  1086. Scale=Vector3.new(1,1,1);
  1087. MeshType="Brick";
  1088. Parent=p;
  1089. })
  1090. for key,value in pairs(properties) do
  1091. if pcall(function() if p[key] then end end) then
  1092. p[key]=value
  1093. end
  1094. if pcall(function() if m[key] then end end) then
  1095. m[key]=value
  1096. end
  1097. end
  1098. return p,m
  1099. end
  1100.  
  1101. function CreateEffect(properties,goals,tweenInfo,betfunc,endFunc)
  1102. local p,m = CreatePart(properties)
  1103. local end_part_goals={}
  1104. local end_mesh_goals={}
  1105. for key,value in pairs(goals) do
  1106. if pcall(function() if p[key] then end end) then
  1107. end_part_goals[key]=value
  1108. end
  1109. if pcall(function() if m[key] then end end) then
  1110. end_mesh_goals[key]=value
  1111. end
  1112. end
  1113. Tween(p,tweenInfo,end_part_goals,betfunc,endFunc or function(p,m) game.Debris:AddItem(p,0) end,{p,m},{p,m})
  1114. Tween(m,tweenInfo,end_mesh_goals)
  1115. end
  1116.  
  1117. function Decal(part,id,faces)
  1118. local id = 'rbxasset//'..id
  1119. local decals={}
  1120. for i,v in pairs(faces) do
  1121. local d = Instance.new("Decal")
  1122. d.Texture=id
  1123. d.Parent=part
  1124. d.Face=v
  1125. table.insert(decals,d)
  1126. end
  1127. return unpack(decals)
  1128. end
  1129.  
  1130. function Tween(instance,info,goals,betfunc,endfunc,s1,s2)
  1131. spawn(function()
  1132. local s1=s1 or {}
  1133. local s2=s2 or {}
  1134. local t=ts:Create(instance,info,goals)
  1135. local done=false
  1136. t.Completed:Connect(function() done=true end)
  1137. t:Play()
  1138. repeat swait() spawn(function() if betfunc then betfunc(unpack(s1)) end end) until done==true
  1139. if endfunc then endfunc(unpack(s2)) end
  1140. end)
  1141. end
  1142.  
  1143. function Bezier(P0,P1,P2,ALPHA)
  1144. return P0:lerp(P1,ALPHA):lerp(P1:lerp(P2,ALPHA),ALPHA)
  1145. end
  1146.  
  1147. --[[
  1148. function lightning(A,B,segments,col,mat)
  1149. local dir = (B-A).unit
  1150. local increment = (B-A).Magnitude/segments
  1151. local oldpos = A
  1152. local dump = Instance.new("Model");dump.Parent=workspace;dump.Name="Lightning"
  1153.  
  1154. for i=1,segments do
  1155. local nextpos = A + dir * increment * i
  1156. local part = Instance.new("Part");part.Parent=dump;part.Size=Vector3.new(.5,.5,(nextpos-oldpos).magnitude*1.15);part.Anchored=true;part.CanCollide=false;part.Name="p:"..i;part.Color=col;part.Material=mat;game:GetService("Debris"):AddItem(part,.5)
  1157. nextpos = nextpos + Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,0)
  1158.  
  1159. part.CFrame = CFrame.new((nextpos+oldpos)/2,nextpos)
  1160.  
  1161. if i == segments then
  1162. nextpos = B --this is to make sure the last point wont be randomized
  1163. end
  1164. oldpos = nextpos
  1165. end
  1166.  
  1167. end
  1168. ]]
  1169. ----- Instances ------
  1170. local bdmg = script:WaitForChild("Stats").BaseDamage
  1171. local atkspd = script:WaitForChild("Stats").AtkSpeed
  1172. local atkrange = script:WaitForChild("Stats").AtkRange
  1173. local cancastab = script:WaitForChild("Stats").CanCastAbilities
  1174. local dfunc = {
  1175. function(hitHumanoid, damage, owner)
  1176. if hitHumanoid == owner then return end
  1177. if hitHumanoid.Parent:FindFirstChild("Head") ~= nil then
  1178. local hithead = hitHumanoid.Parent:FindFirstChild("Head")
  1179. local p,m = CreatePart({CFrame = hithead.CFrame*cfn(math.random(-150,150)/100,math.random(0,150)/100,math.random(-150,150)/100), Transparency = 1, Size = v3(0,0,0), MeshType = 'Brick'})
  1180. local g = Create('BillboardGui',{Size = UDim2.new(0,0,0,0), Adornee = p, AlwaysOnTop = true, Parent = p})
  1181. local t = Create('TextLabel',{Parent = g, Size = UDim2.new(1,0,1,0), BackgroundTransparency = 1, TextStrokeTransparency = 0, TextScaled = true, Font = Enum.Font.SourceSans})
  1182. local hitnoises = {"199149186","199149137","199149221","199149235","199149269","199149297"}
  1183. db:AddItem(p,10)
  1184. hitHumanoid:TakeDamage(damage)
  1185. -- ========================================================================================
  1186. if damage <= -1 then -- player is being healed
  1187. spawn(function()
  1188. local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://535405197", Volume = 0.5})
  1189. hitsound:Play()
  1190. local selectcol = Color3.fromHSV(120/360,1,1)
  1191. t.TextColor3= selectcol
  1192. t.Text="+"..(math.abs(math.floor(damage)))
  1193. t.TextStrokeColor3= Color3.new(0,0,0)
  1194. t.TextTransparency = 1
  1195. t.TextStrokeTransparency=1
  1196. Tween(g,ti(.7,Enum.EasingStyle.Sine),{Size = UDim2.new(1.5,0,1.5,0), StudsOffset = v3(0,1,0)})
  1197. Tween(t,ti(.7,Enum.EasingStyle.Sine),{TextTransparency = 0, TextStrokeTransparency = 0})
  1198. swait(35)
  1199. db:AddItem(p,.6)
  1200. Tween(g,ti(.5,Enum.EasingStyle.Linear),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,2,0)})
  1201. Tween(t,ti(.5,Enum.EasingStyle.Linear),{TextTransparency = 1, TextStrokeTransparency = 1})
  1202. end)
  1203. -- ========================================================================================
  1204. -------------
  1205. -- ========================================================================================
  1206. elseif hitHumanoid.Parent:FindFirstChild("ForceField") ~= nil and hitHumanoid.Parent.ForceField:IsA("ForceField") then -- player is blocking attack or has forcefield
  1207. spawn(function()
  1208. local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://135436314", Volume = 0.5})
  1209. hitsound:Play()
  1210. local selectcol = Color3.fromHSV(math.random(197,216)/360,1,1)
  1211. t.TextColor3= selectcol
  1212. t.Text="Blocked"
  1213. t.TextStrokeColor3= Color3.new(0,0,0)
  1214. t.TextTransparency = 1
  1215. t.TextStrokeTransparency=1
  1216. Tween(g,ti(.5,Enum.EasingStyle.Bounce),{Size = UDim2.new(2.5,0,2.5,0), StudsOffset = v3(0,1,0)})
  1217. Tween(t,ti(.5,Enum.EasingStyle.Quint),{TextTransparency = 0, TextStrokeTransparency = 0})
  1218. swait(35)
  1219. db:AddItem(p,.6)
  1220. Tween(g,ti(.5,Enum.EasingStyle.Linear),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,1,0)})
  1221. Tween(t,ti(.5,Enum.EasingStyle.Linear),{TextTransparency = 1, TextStrokeTransparency = 1})
  1222. end)
  1223. -- ========================================================================================
  1224. -------------
  1225. -- ========================================================================================
  1226. elseif damage >= (hitHumanoid.MaxHealth * .25) then -- player dealt high amount of damage
  1227. spawn(function()
  1228. local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://"..hitnoises[math.random(1,#hitnoises)], Pitch = 1.2 ,Volume = 0.125+0.125*(damage/16)})
  1229. hitsound:Play()
  1230. local huey = 360
  1231. local selectcol = Color3.fromHSV((huey-math.min((damage*10/hitHumanoid.MaxHealth),30))/360,damage/12,huey-huey+1)
  1232. t.TextColor3= selectcol
  1233. t.Text=math.floor(damage)
  1234. t.TextStrokeColor3= Color3.new(0,0,0)
  1235. t.TextTransparency = 1
  1236. t.TextStrokeTransparency=1
  1237. for i = 1,5 do
  1238. Tween(g,ti(.25,Enum.EasingStyle.Elastic),{Size = UDim2.new(2,0,2,0), StudsOffset = v3(math.random(-100,100)/200,1,math.random(-100,100)/200)})
  1239. Tween(t,ti(.25,Enum.EasingStyle.Elastic),{TextTransparency = 0, TextStrokeTransparency = 0, Rotation = math.random(-10,10)})
  1240. swait()
  1241. end
  1242. swait(math.clamp(20+damage*1.5,1,150))
  1243. db:AddItem(p,.6)
  1244. Tween(g,ti(.5,Enum.EasingStyle.Sine),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,3,0)})
  1245. Tween(t,ti(.5,Enum.EasingStyle.Sine),{TextTransparency = 1, TextStrokeTransparency = 1})
  1246. end)
  1247. -- ========================================================================================
  1248. -------------
  1249. -- ========================================================================================
  1250. else -- player takes normal damage
  1251. spawn(function()
  1252. local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://"..hitnoises[math.random(1,#hitnoises)], Volume = 0.125+0.125*(damage/16)})
  1253. hitsound:Play()
  1254. local huey = 56
  1255. local selectcol = Color3.fromHSV((huey-math.min((damage*10/hitHumanoid.MaxHealth),30))/360,damage/12,huey-huey+1)
  1256. t.TextColor3= selectcol
  1257. t.Text=math.floor(damage)
  1258. t.TextStrokeColor3= Color3.new(0,0,0)
  1259. t.TextTransparency = 1
  1260. t.TextStrokeTransparency=1
  1261. Tween(g,ti(.25,Enum.EasingStyle.Quad),{Size = UDim2.new(2,0,2,0), StudsOffset = v3(0,1,0)})
  1262. Tween(t,ti(.25,Enum.EasingStyle.Quad),{TextTransparency = 0, TextStrokeTransparency = 0})
  1263. swait(math.clamp(20+damage*1.5,1,150))
  1264. db:AddItem(p,.6)
  1265. Tween(g,ti(.5,Enum.EasingStyle.Quad),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,2,0)})
  1266. Tween(t,ti(.5,Enum.EasingStyle.Quad),{TextTransparency = 1, TextStrokeTransparency = 1})
  1267. end)
  1268. -- ========================================================================================
  1269. -------------
  1270. end
  1271. end
  1272. end
  1273. }
  1274. ----- New Instances ------
  1275. local equipS=Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 2})
  1276. local uneqS=Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.75})
  1277. local click1 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.1})
  1278. local click2 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.2})
  1279. local click3 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.3})
  1280. local click4 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1})
  1281.  
  1282. ----- Animation Defaults ------
  1283. local stand = {
  1284. ["head"] = hw.C0,
  1285. ["head1"] = hw.C1,
  1286. ["tors"] = tw.C1,
  1287. ["tors0"] = tw.C0,
  1288. ["rarm"] = raw.C0,
  1289. ["rarm1"] = raw.C1,
  1290. ["larm"] = law.C0,
  1291. ["larm1"] = law.C1,
  1292. ["rleg"] = rlw.C0,
  1293. ["rleg1"] = rlw.C1,
  1294. ["lleg"] = llw.C0,
  1295. ["lleg1"] = llw.C1,
  1296. }
  1297. ------ Primary Functions ------
  1298. function stopAnims()
  1299. pausedanims = {}
  1300. for _,v in pairs(hume:GetPlayingAnimationTracks()) do v:Stop()
  1301. table.insert(pausedanims, v)
  1302. end end
  1303. function resumeAnims()
  1304. for _,v in pairs(pausedanims) do v:Play()
  1305. end end
  1306. function resetJoints()
  1307. hw.C0 = stand.head; hw.C1 = stand.head1; tw.C1 = stand.tors; tw.C0 = stand.tors0
  1308. raw.C0 = stand.rarm; raw.C1 = stand.rarm1; law.C0 = stand.larm; law.C1= stand.larm1
  1309. rlw.C0 = stand.rleg; rlw.C1 = stand.rleg1; llw.C0 = stand.lleg; llw.C1 = stand.lleg1
  1310. end
  1311.  
  1312. function equip()
  1313. local t = 15
  1314. animS.Disabled = true; stopAnims()
  1315. resetJoints()
  1316. for i = 1, t do swait()
  1317.  
  1318. -- anim here
  1319.  
  1320. end
  1321. --idletrack:Play(); equipS:Play()
  1322. equipS:Play()
  1323. end
  1324.  
  1325. function unequip()
  1326. local t = 15
  1327.  
  1328. lwoverride = true
  1329.  
  1330. for i = 1, t do swait()
  1331.  
  1332. -- anim here
  1333.  
  1334. end
  1335.  
  1336. animS.Disabled = false
  1337. resetJoints(); resumeAnims()
  1338. lwoverride = false
  1339. equipped= false
  1340. uneqS:Play()
  1341. end
  1342.  
  1343. function checkPartMag(list, range)
  1344. local targets = {}
  1345.  
  1346. for _,v in pairs(list) do
  1347. for _,x in pairs(workspace:GetChildren()) do
  1348. local vhume = x:FindFirstChild("Humanoid")
  1349. if vhume and vhume:IsA("Humanoid") then
  1350. for _,y in pairs(x:GetChildren()) do
  1351. if y:IsA("BasePart") and (v.Position - y.Position).magnitude <= range
  1352. then table.insert(targets, x); break end
  1353. end end end end
  1354.  
  1355. return targets
  1356. end
  1357.  
  1358. function checkPosMag(pos, range)
  1359. local targets = {}
  1360.  
  1361. for _,x in pairs(workspace:GetChildren()) do
  1362. local vhume = x:FindFirstChild("Humanoid")
  1363. if vhume and vhume:IsA("Humanoid") then
  1364. for _,y in pairs(x:GetChildren()) do
  1365. if y:IsA("BasePart") and (pos - y.Position).magnitude <= range
  1366. then table.insert(targets, x)
  1367. print(x.Name) end
  1368. end end end
  1369.  
  1370. return targets
  1371. end
  1372.  
  1373. function strike(targ, dmg)
  1374. local moddmg = math.floor(dmg)
  1375. local crit = false
  1376. if targ == char then return end
  1377. local vhume = targ:FindFirstChild("Humanoid")
  1378. if vhume and vhume:IsA("Humanoid") then
  1379. moddmg = math.ceil(moddmg * (math.random(75, 150)/100))
  1380. dfunc[1](vhume, moddmg, hume)
  1381. end end
  1382.  
  1383. function cooldown(num)
  1384. local ab = abilities[num]
  1385. local now = tick()
  1386.  
  1387. spawn(function()
  1388. ab.ready = false
  1389. ab.ccd = ab.cd
  1390.  
  1391. while ab.ccd > 0 do swait()
  1392.  
  1393. repeat swait() until (tick()-now) >= 1
  1394. or ab.ccd <= 0
  1395.  
  1396. if ab.ccd > 0 then ab.ccd = ab.ccd - 1; now = tick()
  1397. else break
  1398. end end
  1399.  
  1400. ab.ready = true
  1401. end)
  1402. end
  1403.  
  1404. function attack()
  1405. if combostep >= #bAttacks then combostep = 1
  1406. else combostep = combostep + 1 end
  1407.  
  1408. combotime = tick(); bAttacks[combostep]()
  1409.  
  1410. softoverride = false; lwoverride = false
  1411. wsoverride = false; hume.WalkSpeed = defWS
  1412. end
  1413.  
  1414. function cast(num)
  1415. local ab = abilities[num]
  1416. local func = bAbilities[num]
  1417.  
  1418. if ab.ready and func then
  1419. cooldown(num); func()
  1420. end end
  1421.  
  1422. local outerframe;
  1423. local textbox;
  1424. local maingui = Instance.new("BillboardGui")
  1425. maingui.Name = "TextMan"
  1426. maingui.Active = true
  1427. maingui.AlwaysOnTop = true
  1428. maingui.Enabled = true
  1429. maingui.LightInfluence = 0.1
  1430. maingui.MaxDistance = 80
  1431. maingui.Parent = char.Head
  1432. maingui.Adornee = char.Head
  1433. maingui.Size = UDim2.new(5,0,2,0)
  1434. maingui.StudsOffset = Vector3.new(0,4.5,0)
  1435.  
  1436. local outerframe = Instance.new("Frame")
  1437. outerframe.Parent = maingui
  1438. outerframe.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  1439. outerframe.BorderColor3 = Color3.fromRGB(117, 117, 117)
  1440. outerframe.BackgroundTransparency = 0
  1441. outerframe.BorderSizePixel = 0
  1442. outerframe.Size = UDim2.new(1,0,0,0)
  1443. outerframe.Name = "OuterFrame"
  1444.  
  1445.  
  1446. local background = Instance.new("Frame")
  1447. background.Parent = outerframe
  1448. background.Name = "Background"
  1449. background.BackgroundColor3 = tors.Color
  1450. background.BorderColor3 = Color3.fromRGB(10,10,10)
  1451. background.BorderSizePixel = 0
  1452. background.Position = UDim2.new(0.013, 0,0.025, 0)
  1453. background.Size = UDim2.new(0.975, 0,0.95, 0)
  1454.  
  1455. local gradient1 = Instance.new("ImageLabel")
  1456. gradient1.Parent = background
  1457. gradient1.BackgroundTransparency = 1
  1458. gradient1.Size = UDim2.new(1,0,1,0)
  1459. gradient1.Image = "rbxassetid://156579757"
  1460.  
  1461. local profile = Instance.new("Frame")
  1462. profile.Parent = outerframe
  1463. profile.Name = "Profile"
  1464. profile.BackgroundColor3 = tors.Color
  1465. profile.BorderColor3 = Color3.fromRGB(10,10,10)
  1466. profile.BorderSizePixel = 0
  1467. profile.Position = UDim2.new(0.013, 0,0.025, 0)
  1468. profile.Size = UDim2.new(0.2, 0,0.45, 0)
  1469.  
  1470. local gradient2 = Instance.new("ImageLabel")
  1471. gradient2.Parent = profile
  1472. gradient2.Name = "Gradient"
  1473. gradient2.BackgroundTransparency = 1
  1474. gradient2.Size = UDim2.new(1,0,1,0)
  1475. gradient2.Image = "rbxassetid://343257804"
  1476.  
  1477.  
  1478.  
  1479. local planame = Instance.new("TextLabel")
  1480. planame.Name = "PlayerName"
  1481. planame.Parent = outerframe
  1482. planame.BackgroundTransparency = 1
  1483. planame.Position = UDim2.new(0.013, 0,0, 0)
  1484. planame.Size = UDim2.new(.2,0,0.2,0)
  1485. planame.Font = Enum.Font.Arcade
  1486. planame.Text = ""..plr.Name..""
  1487. planame.TextColor3 = Color3.fromRGB(255, 255, 0)
  1488. planame.TextStrokeTransparency = 0
  1489. planame.TextScaled = true
  1490. planame.TextStrokeColor3 = Color3.fromRGB(97, 77, 0)
  1491. planame.TextXAlignment = Enum.TextXAlignment.Center
  1492. planame.TextYAlignment = Enum.TextYAlignment.Top
  1493.  
  1494. local textbox = Instance.new("TextLabel")
  1495. textbox.Name = "Text"
  1496. textbox.Text = ""
  1497. textbox.Parent = outerframe
  1498. textbox.BackgroundTransparency = 1
  1499. textbox.Position = UDim2.new(0.225, 0,0, 0)
  1500. textbox.Size = UDim2.new(0.755, 0,0.975, 0)
  1501. textbox.TextColor3 = Color3.fromRGB(255, 255, 0)
  1502. textbox.Font = Enum.Font.SourceSans
  1503. textbox.TextScaled = false
  1504. textbox.FontSize = Enum.FontSize.Size18
  1505. textbox.TextWrapped = true
  1506. textbox.TextStrokeTransparency = 0
  1507. textbox.TextStrokeColor3 = Color3.fromRGB(97, 77, 0)
  1508. textbox.TextXAlignment = Enum.TextXAlignment.Left
  1509. textbox.TextYAlignment = Enum.TextYAlignment.Top
  1510.  
  1511. local speaking = false
  1512. local donespeaking = false
  1513. local messagequeue = {}
  1514.  
  1515. local fool = script.color
  1516. fool.Parent = maingui
  1517.  
  1518. function TauntMessage(msg)
  1519. fool.Disabled = false
  1520. local speaking = false
  1521. local donespeaking = false
  1522. local messagequeue = {}
  1523. profile.BackgroundColor3 = tors.Color
  1524. background.BackgroundColor3 = tors.Color
  1525.  
  1526.  
  1527. if speaking == false and #messagequeue <= 1 then
  1528. speaking = true
  1529. donespeaking = false
  1530. table.foreach(messagequeue,print)
  1531. table.insert(messagequeue,msg)
  1532. outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
  1533. outerframe.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
  1534. outerframe.BorderSizePixel = 2
  1535. background.BorderSizePixel = 1
  1536. profile.BorderSizePixel = 1
  1537. outerframe.BorderColor3 = Color3.fromRGB(117, 117, 117)
  1538. background.BorderColor3 = Color3.fromRGB(10,10,10)
  1539. profile.BorderColor3 = Color3.fromRGB(10,10,10)
  1540.  
  1541. swait()
  1542. local amount = string.len(msg)
  1543. for i = 1,amount do
  1544. textbox.Text = (string.sub(msg,1,i))
  1545. local sound = Instance.new("Sound")
  1546. sound.Parent=head
  1547. sound.PlayOnRemove = true
  1548. sound.SoundId ="rbxassetid://2469886818"
  1549. sound.MaxDistance = 25
  1550. swait(1)
  1551. sound:Remove()
  1552. end
  1553. swait(math.clamp(60*(amount/15),60,240))
  1554. textbox.Text = ""
  1555. donespeaking = true
  1556. swait()
  1557. table.remove(messagequeue,#msg)
  1558. if #messagequeue > 1 then
  1559. else
  1560. outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
  1561. end
  1562. elseif --[[(speaking == true) or --]] #messagequeue > 1 then
  1563. repeat
  1564. swait()
  1565. until donespeaking == true
  1566. outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
  1567. speaking = true
  1568. donespeaking = false
  1569. table.insert(messagequeue,msg)
  1570. table.foreach(messagequeue,print)
  1571. outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
  1572. swait()
  1573. local amount = string.len(msg)
  1574. for i = 1,amount do
  1575. textbox.Text = (string.sub(msg,1,i))
  1576. local sound = Instance.new("Sound")
  1577. sound.Parent=head
  1578. sound.PlayOnRemove = true
  1579. sound.SoundId ="rbxassetid://2469886818"
  1580. sound.MaxDistance = 25
  1581. swait()
  1582. sound:Remove()
  1583. end
  1584. swait(math.clamp(60*(amount/15),60,240))
  1585. textbox.Text = ""
  1586.  
  1587. donespeaking = true
  1588. swait()
  1589. table.remove(messagequeue,#msg)
  1590. if #messagequeue > 1 then
  1591. else
  1592. swait()
  1593. outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
  1594. end
  1595.  
  1596. end
  1597. swait()
  1598. speaking = false
  1599. outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
  1600. end
  1601. -- Basic Attacks --
  1602.  
  1603. bAttacks = {
  1604. ------------------
  1605. function()
  1606. local t = math.ceil(15/atkspd.Value)
  1607. local hitdb = {}
  1608. print('C1')
  1609. click1:Play()
  1610. for i = 1, t do swait()
  1611. -- upper anim
  1612.  
  1613. if not running then softoverride = true
  1614. -- lower anim
  1615.  
  1616. end
  1617. end
  1618.  
  1619. for i = 1, 2 do swait()
  1620. -- uperanim
  1621.  
  1622. if not running then softoverride = true
  1623. -- lower anim
  1624.  
  1625. end
  1626.  
  1627. for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
  1628. if not hitdb[v] then hitdb[v] = true
  1629. strike(v, bdmg.Value)
  1630. end end
  1631. if not active then break end
  1632. end end,
  1633. ------------------
  1634. function()
  1635. local t = math.ceil(15/atkspd.Value)
  1636. local hitdb = {}
  1637. print('C2')
  1638. click2:Play()
  1639. for i = 1, t do swait()
  1640. -- upper anim
  1641.  
  1642. if not running then softoverride = true
  1643. -- lower anim
  1644. end
  1645. if not active then break end
  1646. end
  1647.  
  1648. for i = 1, t do swait()
  1649. -- uperanim
  1650.  
  1651. if not running then softoverride = true
  1652. -- lower anim
  1653. end
  1654. for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
  1655. if not hitdb[v] then hitdb[v] = true
  1656. strike(v, bdmg.Value)
  1657. end end
  1658. if not active then break end
  1659. end end,
  1660. ------------------
  1661. function()
  1662. local t = math.ceil(15/atkspd.Value)
  1663. local hitdb = {}
  1664. print('C3')
  1665. click3:Play()
  1666.  
  1667. for i = 1, t do swait()
  1668. -- upper anim
  1669.  
  1670. if not running then softoverride = true
  1671. -- lower anim
  1672. end
  1673. if not active then break end
  1674. end
  1675.  
  1676. for i = 1, t do swait()
  1677. -- uperanim
  1678.  
  1679. if not running then softoverride = true
  1680. -- lower anim
  1681. end
  1682. for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
  1683. if not hitdb[v] then hitdb[v] = true
  1684. strike(v, bdmg.Value)
  1685. end end
  1686. if not active then break end
  1687. end end,
  1688. ------------------
  1689. function()
  1690. local t = math.ceil(15/atkspd.Value)
  1691. local hitdb = {}
  1692. print('C4')
  1693. click4:Play()
  1694.  
  1695. for i = 1, t do swait()
  1696. -- upper anim
  1697.  
  1698. if not running then softoverride = true
  1699. -- lower anim
  1700. end
  1701. if not active then break end
  1702. end
  1703.  
  1704. for i = 1, t do swait()
  1705. -- uperanim
  1706.  
  1707. if not running then softoverride = true
  1708. -- lower anim
  1709. end
  1710. for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
  1711. if not hitdb[v] then hitdb[v] = true
  1712. strike(v, bdmg.Value)
  1713. end end
  1714. if not active then break end
  1715. end end,
  1716. ------------------
  1717. }
  1718.  
  1719. -- Abilities --
  1720.  
  1721. bAbilities = {
  1722.  
  1723. function(Z)
  1724. print('Z')
  1725. attack = true
  1726. local t = 20
  1727. for i = 1, t do swait()
  1728. ---stance:(Attack Animation)
  1729. -------------------------------------------------------------------------------------------
  1730. ---upper body stuff
  1731. -------------------------------------------------------------------------------------------
  1732. raw.C0 = raw.C0:lerp(cfn(1, 0.5, 0, -0.0946663618, 0.0149954557, 0.995396197, 0.983141184, -0.155714512, 0.0958466232, 0.156434834, 0.987688303, -1.81794167e-06), (i/t))
  1733. raw.C1 = raw.C1:lerp(cfn(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1734. law.C0 = law.C0:lerp(cfn(-1, 0.5, 0, -6.27012923e-07, 0.0958457664, -0.995396137, 7.4505806e-09, 0.995396197, 0.0958457664, 1, 5.96046448e-08, -5.96046448e-07), (i/t))
  1735. law.C1 = law.C1:lerp(cfn(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1736. hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1, 0, 0, 0, -0.190808415, 0.981627345, 0, 0.981627345, 0.190808356), (i/t))
  1737. hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1738. tw.C0 = tw.C0:lerp(cfn(0, 0, 0, -1.00000024, 0, 0, 0, 0.284015357, 0.958819866, 0, 0.958819866, -0.284015656), (i/t))
  1739. tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1740. -------------------------------------------------------------------------------------------
  1741. ---leg stuff
  1742. -------------------------------------------------------------------------------------------
  1743. rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, -1.07288361e-06, 2.5331974e-07, 1.00000012, 0.284015417, 0.958819687, 2.98023224e-08, -0.958819807, 0.284015417, -1.13248825e-06), (i/t))
  1744. rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1745. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, -1.07288361e-06, -2.5331974e-07, -1.00000012, -0.284015417, 0.958819687, 2.98023224e-08, 0.958819807, 0.284015417, -1.13248825e-06), (i/t))
  1746. llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1747. -------------------------------------------------------------------------------------------
  1748.  
  1749. end
  1750. attack = false
  1751. defWS = ogdefWS
  1752. end,
  1753.  
  1754. function(X)
  1755. print('X')
  1756. defWS = ogdefWS
  1757. end,
  1758.  
  1759. function(C)
  1760. print('C')
  1761. defWS = ogdefWS
  1762. end,
  1763.  
  1764. function(V)
  1765. print('V')
  1766. attack = true
  1767. local t = 20
  1768. TauntMessage("...")
  1769.  
  1770. ---stance:(Bad Time Cutscene 1 Anim)
  1771. -------------------------------------------------------------------------------------------
  1772. ---upper body stuff
  1773. -------------------------------------------------------------------------------------------
  1774. for i = 1, t do swait()
  1775. raw.C0 = raw.C0:lerp(cfn(1, 0.5, 0, -6.27012923e-07, -0.0958457664, 0.995396137, -7.4505806e-09, 0.995396197, 0.0958457664, -1, 5.96046448e-08, -5.96046448e-07), (i/t))
  1776. raw.C1 = raw.C1:lerp(cfn(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1777. law.C0 = law.C0:lerp(cfn(-1, 0.5, 0, -6.27012923e-07, 0.0958457664, -0.995396137, 7.4505806e-09, 0.995396197, 0.0958457664, 1, 5.96046448e-08, -5.96046448e-07), (i/t))
  1778. law.C1 = law.C1:lerp(cfn(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1779. hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1.00000024, 0, 0, 0, 0.544638693, 0.83867085, 0, 0.83867085, -0.544638872), (i/t))
  1780. hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1781. tw.C0 = tw.C0:lerp(cfn(0, -0.825000048, 9.65595248e-08, -1, 0, 0, 0, 3.57627869e-07, 0.99999994, 0, 0.99999994, -3.57627869e-07), (i/t))
  1782. tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1783. -------------------------------------------------------------------------------------------
  1784. ---leg stuff
  1785. -------------------------------------------------------------------------------------------
  1786. rlw.C0 = rlw.C0:lerp(cfn(0.999999106, -0.316440791, -0.371142358, -2.56113708e-06, 4.76837158e-07, 1.00000012, 0.284015417, 0.958819687, 2.5331974e-07, -0.958819807, 0.284015417, -2.62260437e-06), (i/t))
  1787. rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1788. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, -1.07288361e-06, 6.2584877e-07, -1.00000012, 0.622514963, 0.782607973, -8.94069672e-08, 0.782608032, -0.622514963, -1.25169754e-06), (i/t))
  1789. llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1790. end
  1791. -------------------------------------------------------------------------------------------
  1792. wait(1)
  1793. TauntMessage("Welp...")
  1794. wait(1)
  1795. TauntMessage("Looks Like You Actually Got Me...")
  1796. wait(1)
  1797. TauntMessage("But Im Not Just Gonna Sit Here And Shatter...")
  1798. wait(1)
  1799.  
  1800. ---stance:(Bad Time Cutscene 2)
  1801. -------------------------------------------------------------------------------------------
  1802. ---upper body stuff
  1803. -------------------------------------------------------------------------------------------
  1804. for i = 1, t do swait()
  1805. raw.C0 = raw.C0:lerp(cfn(1, 0.5, 0, -6.27012923e-07, -0.0958457664, 0.995396137, -7.4505806e-09, 0.995396197, 0.0958457664, -1, 5.96046448e-08, -5.96046448e-07), (i/t))
  1806. raw.C1 = raw.C1:lerp(cfn(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1807. law.C0 = law.C0:lerp(cfn(-1, 0.5, 0, -6.27012923e-07, 0.0958457664, -0.995396137, 7.4505806e-09, 0.995396197, 0.0958457664, 1, 5.96046448e-08, -5.96046448e-07), (i/t))
  1808. law.C1 = law.C1:lerp(cfn(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1809. hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1, 0, 0, 0, -5.96046448e-07, 1, 0, 1, 5.36441803e-07), (i/t))
  1810. hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1811. tw.C0 = tw.C0:lerp(cfn(0, -0.825000048, 9.65595248e-08, -1, 0, 0, 0, 3.57627869e-07, 0.99999994, 0, 0.99999994, -3.57627869e-07), (i/t))
  1812. tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
  1813. -------------------------------------------------------------------------------------------
  1814. ---leg stuff
  1815. -------------------------------------------------------------------------------------------
  1816. rlw.C0 = rlw.C0:lerp(cfn(0.999999106, -0.316440791, -0.371142358, -2.56113708e-06, 4.76837158e-07, 1.00000012, 0.284015417, 0.958819687, 2.5331974e-07, -0.958819807, 0.284015417, -2.62260437e-06), (i/t))
  1817. rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1818. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, -1.07288361e-06, 6.2584877e-07, -1.00000012, 0.622514963, 0.782607973, -8.94069672e-08, 0.782608032, -0.622514963, -1.25169754e-06), (i/t))
  1819. llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1820. -------------------------------------------------------------------------------------------
  1821. end
  1822. TauntMessage("So Prepare Yourself Kid...")
  1823. wait(1)
  1824. attack = false
  1825. defWS = ogdefWS
  1826. end,
  1827.  
  1828. function(T)
  1829. local taunts = {"Are You Ready To Have A Badtime?", "Not My Fault You Went Down That Path."}
  1830. TauntMessage(tostring(taunts[math.random(1,#taunts)]))
  1831. defWS = ogdefWS
  1832. end,
  1833.  
  1834. function(ASE)
  1835. print('ASE')
  1836. defWS = ogdefWS
  1837. end,
  1838.  
  1839. function(DSDR)
  1840. print('DSDR')
  1841. defWS = ogdefWS
  1842. end,
  1843.  
  1844. function(ASDER)
  1845. print('ASDER')
  1846. defWS = ogdefWS
  1847. end,
  1848.  
  1849.  
  1850. }
  1851.  
  1852. -- coroutines
  1853. ----------------------------------------------
  1854. local sine = 1
  1855. local change = 1
  1856. local lastkeys = {}
  1857. local keystrokewait = .25
  1858. local keystroketime = tick()
  1859. local backgroundfunctions = coroutine.resume(coroutine.create(function()
  1860. while true do swait()
  1861. ---------------------
  1862. sine = sine + change
  1863. ---------------------
  1864.  
  1865. ---------------------
  1866. for i,v in ipairs(buttons) do
  1867. local ab = abilities[i]
  1868. v.Main:TweenSize(UDim2.new(math.clamp((ab.cd - ab.ccd)/ab.cd,0,1), 0, 0.05, 0), "Out", "Sine", .1, true)
  1869. if ab.ccd > 0 then v.SkillName.Text = ab.name.."("..ab.ccd..")"
  1870. else v.SkillName.Text = ab.name
  1871. end end
  1872. ---------------------
  1873.  
  1874. ---------------------
  1875. local tvel = (hrp.Velocity * v3(1, 0, 1)).magnitude
  1876. local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
  1877. local hit = workspace:FindPartOnRay(groundcheck, char)
  1878.  
  1879. if hit then
  1880. if jumping then jumping = false; end
  1881. else jumping = true
  1882. end
  1883.  
  1884. if tvel > 2 then
  1885.  
  1886. if not running then running = true; softoverride = false end
  1887. elseif running then running = false
  1888. end
  1889.  
  1890. if (wsoverride or lwoverride) and not active then
  1891. wsoverride = false; lwoverride = false
  1892. end
  1893.  
  1894. if not wsoverride then
  1895. hume.WalkSpeed = defWS
  1896. end
  1897. ---------------------
  1898.  
  1899. ---------------------
  1900. if (tick()-keystroketime)>=keystrokewait
  1901. and not active then lastkeys = {};
  1902. end
  1903. ---------------------
  1904.  
  1905. ---------------------
  1906. if (tick()-combotime)>=combowait
  1907. and not active then combostep = 0
  1908. end
  1909. ---------------------
  1910.  
  1911. end
  1912. end))
  1913. ----------------------------------------------
  1914. local runanim = spawn(function()
  1915. while true do swait()
  1916. local vtvel = math.abs(hrp.Velocity.Y)
  1917. local t = 20
  1918.  
  1919. if equipped and not active then
  1920.  
  1921. if jumping then
  1922. t2 = 20
  1923. if hrp.Velocity.Y > 1 then for i = 1, t2 do swait()
  1924. rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
  1925. rlw.C1 = rlw.C1:lerp(cfn(0.339767456, 0.158455193, 0.358017087, -0.612291574, -0.0833315551, 0.786228061, 0.17202729, 0.95656395, 0.235355794, -0.771689177, 0.279359311, -0.571361899), (i/t))
  1926. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
  1927. llw.C1 = llw.C1:lerp(cfn(-0.230396271, 0.863691807, 0.401239634, 0.68050468, -0.0696969554, -0.729420841, -0.310699016, 0.874099076, -0.373385191, 0.663609207, 0.480721116, 0.57317543), (i/t))
  1928. if not jumping or lwoverride or softoverride
  1929. or hrp.Velocity.Y < 1 then break end
  1930. end
  1931.  
  1932. else for i = 1, t2 do swait()
  1933. rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
  1934. rlw.C1 = rlw.C1:lerp(cfn(0.339767456, 0.158455193, 0.358017087, -0.612291574, -0.0833315551, 0.786228061, 0.17202729, 0.95656395, 0.235355794, -0.771689177, 0.279359311, -0.571361899), (i/t))
  1935. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
  1936. llw.C1 = llw.C1:lerp(cfn(-0.230400085, 0.863691151, 0.40124011, 0.673994184, -0.106256366, -0.731054187, 0.166535735, 0.98598218, 0.0102269053, 0.719718993, -0.128639519, 0.682243705), (i/t))
  1937. if not jumping or lwoverride or softoverride
  1938. or hrp.Velocity.Y > 1 then break end
  1939. end end
  1940.  
  1941. elseif running then while true do swait()
  1942. local turn=-math.atan2((hrp.CFrame*tors.CFrame:inverse()).lookVector.X,-(hrp.CFrame*tors.CFrame:inverse()).lookVector.Z)
  1943. rlw.C0 = rlw.C0:lerp(cfn(1,-1+math.min(-math.cos(sine/7)*.4+(0.1+0.2*math.cos(sine/4)),0.5),-.5*-math.sin(sine/7))*cfa(0,turn+math.rad(90)+(hrp.RotVelocity.Y/65)*-1,math.rad(math.clamp(-5+-200*-math.sin(sine/7)*-0.4,-75,45))),.1*(hume.WalkSpeed/ogdefWS))
  1944. llw.C0 = llw.C0:lerp(cfn(-1,-1+math.min(math.cos(sine/7)*.4+(0.1+0.2*math.cos(sine/4)),0.5),-.5*math.sin(sine/7))*cfa(0,turn+math.rad(-90)+(hrp.RotVelocity.Y/65)*-1,math.rad(math.clamp(5+200*math.sin(sine/7)*-0.4,-45,75))),.1*(hume.WalkSpeed/ogdefWS))
  1945. rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), .05*(hume.WalkSpeed/ogdefWS))
  1946. llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), .05*(hume.WalkSpeed/ogdefWS))
  1947. if not running or jumping or lwoverride or softoverride then break end
  1948. end
  1949. for i = 1, t do swait()
  1950. -- run anim2
  1951. ----rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)*cfn(0,-.1+.1*math.cos(sine/12),0)*cfa(0,math.rad(-2+-2*math.sin(sine/24)),0), .05*(hume.WalkSpeed/ogdefWS))
  1952. ----rlw.C1 = rlw.C1:lerp(cfn(0.304801941, 0.852827549, 0.463191748, 0.581429958, 5.1984447e-08, 0.813596547, 0.246323064, 0.953067482, -0.176032797, -0.775412261, 0.302758336, 0.554141939), .05*(hume.WalkSpeed/ogdefWS))
  1953. ----llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)*cfn(0,-.1+.1*math.cos(sine/12),0)*cfa(0,math.rad(2+2*math.sin(sine/24)),0), .05*(hume.WalkSpeed/ogdefWS))
  1954. ---llw.C1 = llw.C1:lerp(cfn(-0.413093567, 0.9999578, -0.091591835, -0.47353515, 0, -0.880774856, 0, 1, 0, 0.880774856, 0, -0.47353515), .05*(hume.WalkSpeed/ogdefWS))
  1955. if not running or jumping or active then break end
  1956. end
  1957.  
  1958. else t = 60
  1959. for i = 1, t do swait()
  1960. -- idle anim
  1961. ---raw.C0 = raw.C0:lerp(cfn(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)*cfn(0,-.075+-.075*math.cos(sine/12),0)*cfa(0,0,math.rad(3+3*math.sin(sine/12))), .05*(hume.WalkSpeed/ogdefWS))
  1962. raw.C0 = raw.C0:lerp(cfn(1, 0.5, 0, -0.398269922, 0.393174946, 0.828730702, -0.393175304, 0.743096352, -0.541498899, -0.828730583, -0.541499138, -0.141366243), (i/t))
  1963. raw.C1 = raw.C1:lerp(cfn(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08), (i/t))
  1964.  
  1965. law.C0 = law.C0:lerp(cfn(-1, 0.5, 0, -0.398269922, -0.393174946, -0.828730702, 0.393175304, 0.743096352, -0.541498899, 0.828730583, -0.541499138, -0.141366243), (i/t))
  1966. law.C1 = law.C1:lerp(cfn(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08), (i/t))
  1967. hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cfn(0,0,-.05+-.05*math.cos(sine/12))*cfa(math.rad(6+6*math.sin(sine/12))/2,math.rad(2+2*math.sin(sine/12)),0), .05*(hume.WalkSpeed/ogdefWS))
  1968. hw.C1 = hw.C1:lerp(cfn(-0.00359725952, -0.502668381, 0.0374317169, -0.779052615, -0.626861989, -0.011004637, 0.0632682145, -0.0960671604, 0.993362129, -0.623758137, 0.773185074, 0.114501812), .05*(hume.WalkSpeed/ogdefWS))
  1969. tw.C0 = tw.C0:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cfn(0,0,-.1+-.1*math.cos(sine/12)), .05*(hume.WalkSpeed/ogdefWS))
  1970. tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -0.835153043, 0.550017655, 0, 0, 0, 1, 0.550017655, 0.835153043, 0), .05*(hume.WalkSpeed/ogdefWS))
  1971. rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
  1972. rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
  1973. llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
  1974. llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
  1975. if running or jumping or active then break end
  1976. end end end end end)
  1977. ----------------------------------------------
  1978. local legwalk = spawn(function()
  1979. while true do swait()
  1980. local t = math.ceil(300/hume.WalkSpeed)
  1981. local t2 = 20
  1982.  
  1983. if equipped and not (lwoverride or softoverride) then
  1984.  
  1985. if jumping then
  1986.  
  1987. if hrp.Velocity.Y > 1 then for i = 1, t2 do swait()
  1988. -- jump anim
  1989. if not jumping or lwoverride or softoverride
  1990. or hrp.Velocity.Y < 1 then break end
  1991. end
  1992.  
  1993. else for i = 1, t2 do swait()
  1994. -- fall anim
  1995. if not jumping or lwoverride or softoverride
  1996. or hrp.Velocity.Y > 1 then break end
  1997. end end
  1998.  
  1999. elseif running then for i = 1, t do swait()
  2000. -- run anim1
  2001. if not running or jumping or lwoverride or softoverride then break end
  2002. end
  2003.  
  2004. if running and not jumping then for i = 1, t do swait()
  2005. -- run anim2
  2006. if not running or lwoverride or softoverride then break end
  2007. end end
  2008.  
  2009. else for i = 1, t do swait()
  2010. -- idle anim
  2011. if running or jumping or lwoverride or softoverride then break end
  2012. end end
  2013.  
  2014. elseif not equipped then
  2015. rlw.C0 = stand.rleg; llw.C0 = stand.lleg
  2016. end end end)
  2017. ----------------------------------------------
  2018. -- Input Events
  2019.  
  2020. mouse.Button1Down:connect(function()
  2021. if equipped and not active then active = true
  2022. ---attack(); active = false
  2023. end end)
  2024.  
  2025. --[[
  2026. uis.InputBegan:connect(function(key)
  2027. ----------------------------------------------------]
  2028. for i,v in ipairs(abilities) do
  2029. if key.KeyCode == v.key then
  2030. if equipped and cancastab.Value == true and not active then
  2031. active = true; cast(i); active = false
  2032. end end end
  2033.  
  2034. if key.KeyCode == Enum.KeyCode.Q then
  2035. if not equipped then equipped = true; active = true
  2036. equip(); active = false
  2037. print'equipped'
  2038. else if not active then active = true
  2039. unequip(); active = false; equipped = false
  2040. print'unequipped'
  2041. end end end
  2042. ----------------------------------------------------]
  2043. end)
  2044. ]]
  2045. script.SkillGui.Parent=plr.PlayerGui
  2046. mouse.KeyDown:connect(function(key)
  2047. key = key:lower()
  2048. keystroketime = tick()
  2049. table.insert(lastkeys,string.upper(key))
  2050. for i,v in ipairs(abilities) do
  2051.  
  2052. if table.concat(lastkeys) == v.key and v.keystroke == true then
  2053. if equipped and cancastab.Value == true and not active then
  2054. active = true; cast(i); active = false
  2055. end end
  2056.  
  2057. if key == v.key:lower() and v.keystroke == false then
  2058. if equipped and cancastab.Value == true and not active then
  2059. active = true; cast(i); active = false
  2060. end end end
  2061.  
  2062. if key == "q" then
  2063. if not equipped then equipped = true; active = true
  2064. equip(); active = false
  2065. print'equipped'
  2066. else if not active then active = true
  2067. unequip(); active = false; equipped = false
  2068. print'unequipped'
  2069. end end end end)
  2070. -- Arbitrary End Code --
Add Comment
Please, Sign In to add comment