Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Folder0 = Instance.new("Folder")
- Script1 = Instance.new("Script")
- ScreenGui2 = Instance.new("ScreenGui")
- Frame3 = Instance.new("Frame")
- Frame4 = Instance.new("Frame")
- Frame5 = Instance.new("Frame")
- TextLabel6 = Instance.new("TextLabel")
- Frame7 = Instance.new("Frame")
- Frame8 = Instance.new("Frame")
- TextLabel9 = Instance.new("TextLabel")
- Frame10 = Instance.new("Frame")
- Frame11 = Instance.new("Frame")
- TextLabel12 = Instance.new("TextLabel")
- Frame13 = Instance.new("Frame")
- Frame14 = Instance.new("Frame")
- TextLabel15 = Instance.new("TextLabel")
- Frame16 = Instance.new("Frame")
- Frame17 = Instance.new("Frame")
- TextLabel18 = Instance.new("TextLabel")
- Frame19 = Instance.new("Frame")
- Frame20 = Instance.new("Frame")
- TextLabel21 = Instance.new("TextLabel")
- Frame22 = Instance.new("Frame")
- Frame23 = Instance.new("Frame")
- TextLabel24 = Instance.new("TextLabel")
- Frame25 = Instance.new("Frame")
- Frame26 = Instance.new("Frame")
- TextLabel27 = Instance.new("TextLabel")
- Configuration28 = Instance.new("Configuration")
- NumberValue29 = Instance.new("NumberValue")
- NumberValue30 = Instance.new("NumberValue")
- NumberValue31 = Instance.new("NumberValue")
- BoolValue32 = Instance.new("BoolValue")
- NumberValue33 = Instance.new("NumberValue")
- Folder0.Name = "Meshes"
- Folder0.Parent = mas
- Script1.Name = "color"
- table.insert(cors,sandbox(Script1,function()
- wait()
- local maingui = script.Parent
- local char = script.Parent.Parent.Parent
- while true do wait()
- maingui.OuterFrame.BackgroundColor3 = Color3.fromRGB(75,75,75)
- maingui.OuterFrame.BorderColor3 = Color3.fromRGB(117,117,117)
- maingui.OuterFrame.Background.BackgroundColor3 = char.Torso.Color
- maingui.OuterFrame.Background.BorderColor3 = Color3.fromRGB(10,10,10)
- maingui.OuterFrame.Profile.BackgroundColor3 = char.Torso.Color
- maingui.OuterFrame.Profile.BorderColor3 = Color3.fromRGB(10,10,10)
- end
- end))
- Script1.Disabled = true
- ScreenGui2.Name = "SkillGui"
- ScreenGui2.Parent = mas
- Frame3.Name = "Main"
- Frame3.Parent = ScreenGui2
- Frame3.Position = UDim2.new(0.725000024, 0, 0.800000012, 0)
- Frame3.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- Frame3.BackgroundColor = BrickColor.new("Institutional white")
- Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame3.BackgroundTransparency = 1
- Frame3.BorderSizePixel = 0
- Frame4.Name = "Z"
- Frame4.Parent = Frame3
- Frame4.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame4.BackgroundColor = BrickColor.new("Institutional white")
- Frame4.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame4.BackgroundTransparency = 1
- Frame5.Name = "Main"
- Frame5.Parent = Frame4
- Frame5.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame5.BackgroundColor = BrickColor.new("Deep orange")
- Frame5.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame5.BorderSizePixel = 0
- TextLabel6.Name = "SkillName"
- TextLabel6.Parent = Frame4
- TextLabel6.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel6.BackgroundTransparency = 1
- TextLabel6.Font = Enum.Font.SourceSans
- TextLabel6.FontSize = Enum.FontSize.Size18
- TextLabel6.Text = "Z"
- TextLabel6.TextColor = BrickColor.new("Institutional white")
- TextLabel6.TextColor3 = Color3.new(1, 1, 1)
- TextLabel6.TextSize = 17
- TextLabel6.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel6.TextStrokeTransparency = 0.5
- TextLabel6.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel6.TextYAlignment = Enum.TextYAlignment.Top
- Frame7.Name = "X"
- Frame7.Parent = Frame3
- Frame7.Position = UDim2.new(0, 0, 0.25, 0)
- Frame7.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame7.BackgroundColor = BrickColor.new("Institutional white")
- Frame7.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame7.BackgroundTransparency = 1
- Frame8.Name = "Main"
- Frame8.Parent = Frame7
- Frame8.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame8.BackgroundColor = BrickColor.new("Deep orange")
- Frame8.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame8.BorderSizePixel = 0
- TextLabel9.Name = "SkillName"
- TextLabel9.Parent = Frame7
- TextLabel9.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel9.BackgroundTransparency = 1
- TextLabel9.Font = Enum.Font.SourceSans
- TextLabel9.FontSize = Enum.FontSize.Size18
- TextLabel9.Text = "X"
- TextLabel9.TextColor = BrickColor.new("Institutional white")
- TextLabel9.TextColor3 = Color3.new(1, 1, 1)
- TextLabel9.TextSize = 17
- TextLabel9.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel9.TextStrokeTransparency = 0.5
- TextLabel9.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel9.TextYAlignment = Enum.TextYAlignment.Top
- Frame10.Name = "C"
- Frame10.Parent = Frame3
- Frame10.Position = UDim2.new(0, 0, 0.5, 0)
- Frame10.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame10.BackgroundColor = BrickColor.new("Institutional white")
- Frame10.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame10.BackgroundTransparency = 1
- Frame11.Name = "Main"
- Frame11.Parent = Frame10
- Frame11.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame11.BackgroundColor = BrickColor.new("Deep orange")
- Frame11.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame11.BorderSizePixel = 0
- TextLabel12.Name = "SkillName"
- TextLabel12.Parent = Frame10
- TextLabel12.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel12.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel12.BackgroundTransparency = 1
- TextLabel12.Font = Enum.Font.SourceSans
- TextLabel12.FontSize = Enum.FontSize.Size18
- TextLabel12.Text = "C"
- TextLabel12.TextColor = BrickColor.new("Institutional white")
- TextLabel12.TextColor3 = Color3.new(1, 1, 1)
- TextLabel12.TextSize = 17
- TextLabel12.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel12.TextStrokeTransparency = 0.5
- TextLabel12.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel12.TextYAlignment = Enum.TextYAlignment.Top
- Frame13.Name = "V"
- Frame13.Parent = Frame3
- Frame13.Position = UDim2.new(0, 0, 0.75, 0)
- Frame13.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame13.BackgroundColor = BrickColor.new("Institutional white")
- Frame13.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame13.BackgroundTransparency = 1
- Frame14.Name = "Main"
- Frame14.Parent = Frame13
- Frame14.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame14.BackgroundColor = BrickColor.new("Deep orange")
- Frame14.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame14.BorderSizePixel = 0
- TextLabel15.Name = "SkillName"
- TextLabel15.Parent = Frame13
- TextLabel15.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel15.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel15.BackgroundTransparency = 1
- TextLabel15.Font = Enum.Font.SourceSans
- TextLabel15.FontSize = Enum.FontSize.Size18
- TextLabel15.Text = "V"
- TextLabel15.TextColor = BrickColor.new("Institutional white")
- TextLabel15.TextColor3 = Color3.new(1, 1, 1)
- TextLabel15.TextSize = 17
- TextLabel15.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel15.TextStrokeTransparency = 0.5
- TextLabel15.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel15.TextYAlignment = Enum.TextYAlignment.Top
- Frame16.Name = "ASE"
- Frame16.Parent = Frame3
- Frame16.Position = UDim2.new(0.5, 0, 0, 0)
- Frame16.Visible = false
- Frame16.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame16.BackgroundColor = BrickColor.new("Institutional white")
- Frame16.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame16.BackgroundTransparency = 1
- Frame17.Name = "Main"
- Frame17.Parent = Frame16
- Frame17.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame17.BackgroundColor = BrickColor.new("New Yeller")
- Frame17.BackgroundColor3 = Color3.new(1, 1, 0)
- Frame17.BorderSizePixel = 0
- TextLabel18.Name = "SkillName"
- TextLabel18.Parent = Frame16
- TextLabel18.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel18.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel18.BackgroundTransparency = 1
- TextLabel18.Font = Enum.Font.SourceSans
- TextLabel18.FontSize = Enum.FontSize.Size18
- TextLabel18.Text = "ASE"
- TextLabel18.TextColor = BrickColor.new("Institutional white")
- TextLabel18.TextColor3 = Color3.new(1, 1, 1)
- TextLabel18.TextSize = 17
- TextLabel18.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel18.TextStrokeTransparency = 0.5
- TextLabel18.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel18.TextYAlignment = Enum.TextYAlignment.Top
- Frame19.Name = "DSDR"
- Frame19.Parent = Frame3
- Frame19.Position = UDim2.new(0.5, 0, 0.25, 0)
- Frame19.Visible = false
- Frame19.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame19.BackgroundColor = BrickColor.new("Institutional white")
- Frame19.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame19.BackgroundTransparency = 1
- Frame20.Name = "Main"
- Frame20.Parent = Frame19
- Frame20.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame20.BackgroundColor = BrickColor.new("New Yeller")
- Frame20.BackgroundColor3 = Color3.new(1, 1, 0)
- Frame20.BorderSizePixel = 0
- TextLabel21.Name = "SkillName"
- TextLabel21.Parent = Frame19
- TextLabel21.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel21.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel21.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel21.BackgroundTransparency = 1
- TextLabel21.Font = Enum.Font.SourceSans
- TextLabel21.FontSize = Enum.FontSize.Size18
- TextLabel21.Text = "DSDR"
- TextLabel21.TextColor = BrickColor.new("Institutional white")
- TextLabel21.TextColor3 = Color3.new(1, 1, 1)
- TextLabel21.TextSize = 17
- TextLabel21.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel21.TextStrokeTransparency = 0.5
- TextLabel21.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel21.TextYAlignment = Enum.TextYAlignment.Top
- Frame22.Name = "ASDER"
- Frame22.Parent = Frame3
- Frame22.Position = UDim2.new(0.5, 0, 0.5, 0)
- Frame22.Visible = false
- Frame22.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame22.BackgroundColor = BrickColor.new("Institutional white")
- Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame22.BackgroundTransparency = 1
- Frame23.Name = "Main"
- Frame23.Parent = Frame22
- Frame23.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame23.BackgroundColor = BrickColor.new("Really red")
- Frame23.BackgroundColor3 = Color3.new(1, 0, 0)
- Frame23.BorderSizePixel = 0
- TextLabel24.Name = "SkillName"
- TextLabel24.Parent = Frame22
- TextLabel24.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel24.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel24.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel24.BackgroundTransparency = 1
- TextLabel24.Font = Enum.Font.SourceSans
- TextLabel24.FontSize = Enum.FontSize.Size18
- TextLabel24.Text = "ASDER"
- TextLabel24.TextColor = BrickColor.new("Institutional white")
- TextLabel24.TextColor3 = Color3.new(1, 1, 1)
- TextLabel24.TextSize = 17
- TextLabel24.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel24.TextStrokeTransparency = 0.5
- TextLabel24.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel24.TextYAlignment = Enum.TextYAlignment.Top
- Frame25.Name = "T"
- Frame25.Parent = Frame3
- Frame25.Position = UDim2.new(0.25, 0, -0.25, 0)
- Frame25.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame25.BackgroundColor = BrickColor.new("Institutional white")
- Frame25.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame25.BackgroundTransparency = 1
- Frame26.Name = "Main"
- Frame26.Parent = Frame25
- Frame26.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame26.BackgroundColor = BrickColor.new("Institutional white")
- Frame26.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame26.BorderSizePixel = 0
- TextLabel27.Name = "SkillName"
- TextLabel27.Parent = Frame25
- TextLabel27.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel27.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel27.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel27.BackgroundTransparency = 1
- TextLabel27.Font = Enum.Font.SourceSans
- TextLabel27.FontSize = Enum.FontSize.Size18
- TextLabel27.Text = "T - Taunt"
- TextLabel27.TextColor = BrickColor.new("Institutional white")
- TextLabel27.TextColor3 = Color3.new(1, 1, 1)
- TextLabel27.TextSize = 17
- TextLabel27.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel27.TextStrokeTransparency = 0.5
- TextLabel27.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel27.TextYAlignment = Enum.TextYAlignment.Top
- Configuration28.Name = "Stats"
- Configuration28.Parent = mas
- NumberValue29.Name = "BaseDamage"
- NumberValue29.Parent = Configuration28
- NumberValue29.Value = 10
- NumberValue30.Name = "AtkSpeed"
- NumberValue30.Parent = Configuration28
- NumberValue30.Value = 1
- NumberValue31.Name = "AtkRange"
- NumberValue31.Parent = Configuration28
- NumberValue31.Value = 5
- BoolValue32.Name = "CanCastAbilities"
- BoolValue32.Parent = Configuration28
- BoolValue32.Value = true
- NumberValue33.Name = "FPS"
- NumberValue33.Parent = Configuration28
- NumberValue33.Value = 62
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Folder34 = Instance.new("Folder")
- Script35 = Instance.new("Script")
- ScreenGui36 = Instance.new("ScreenGui")
- Frame37 = Instance.new("Frame")
- Frame38 = Instance.new("Frame")
- Frame39 = Instance.new("Frame")
- TextLabel40 = Instance.new("TextLabel")
- Frame41 = Instance.new("Frame")
- Frame42 = Instance.new("Frame")
- TextLabel43 = Instance.new("TextLabel")
- Frame44 = Instance.new("Frame")
- Frame45 = Instance.new("Frame")
- TextLabel46 = Instance.new("TextLabel")
- Frame47 = Instance.new("Frame")
- Frame48 = Instance.new("Frame")
- TextLabel49 = Instance.new("TextLabel")
- Frame50 = Instance.new("Frame")
- Frame51 = Instance.new("Frame")
- TextLabel52 = Instance.new("TextLabel")
- Frame53 = Instance.new("Frame")
- Frame54 = Instance.new("Frame")
- TextLabel55 = Instance.new("TextLabel")
- Frame56 = Instance.new("Frame")
- Frame57 = Instance.new("Frame")
- TextLabel58 = Instance.new("TextLabel")
- Frame59 = Instance.new("Frame")
- Frame60 = Instance.new("Frame")
- TextLabel61 = Instance.new("TextLabel")
- Configuration62 = Instance.new("Configuration")
- NumberValue63 = Instance.new("NumberValue")
- NumberValue64 = Instance.new("NumberValue")
- NumberValue65 = Instance.new("NumberValue")
- BoolValue66 = Instance.new("BoolValue")
- NumberValue67 = Instance.new("NumberValue")
- Folder34.Name = "Meshes"
- Folder34.Parent = mas
- Script35.Name = "color"
- Script35.Parent = mas
- table.insert(cors,sandbox(Script35,function()
- wait()
- local maingui = script.Parent
- local char = script.Parent.Parent.Parent
- while true do wait()
- maingui.OuterFrame.BackgroundColor3 = Color3.fromRGB(75,75,75)
- maingui.OuterFrame.BorderColor3 = Color3.fromRGB(117,117,117)
- maingui.OuterFrame.Background.BackgroundColor3 = char.Torso.Color
- maingui.OuterFrame.Background.BorderColor3 = Color3.fromRGB(10,10,10)
- maingui.OuterFrame.Profile.BackgroundColor3 = char.Torso.Color
- maingui.OuterFrame.Profile.BorderColor3 = Color3.fromRGB(10,10,10)
- end
- end))
- Script35.Disabled = true
- ScreenGui36.Name = "SkillGui"
- ScreenGui36.Parent = mas
- Frame37.Name = "Main"
- Frame37.Parent = ScreenGui36
- Frame37.Position = UDim2.new(0.725000024, 0, 0.800000012, 0)
- Frame37.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- Frame37.BackgroundColor = BrickColor.new("Institutional white")
- Frame37.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame37.BackgroundTransparency = 1
- Frame37.BorderSizePixel = 0
- Frame38.Name = "Z"
- Frame38.Parent = Frame37
- Frame38.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame38.BackgroundColor = BrickColor.new("Institutional white")
- Frame38.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame38.BackgroundTransparency = 1
- Frame39.Name = "Main"
- Frame39.Parent = Frame38
- Frame39.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame39.BackgroundColor = BrickColor.new("Deep orange")
- Frame39.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame39.BorderSizePixel = 0
- TextLabel40.Name = "SkillName"
- TextLabel40.Parent = Frame38
- TextLabel40.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel40.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel40.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel40.BackgroundTransparency = 1
- TextLabel40.Font = Enum.Font.SourceSans
- TextLabel40.FontSize = Enum.FontSize.Size18
- TextLabel40.Text = "Z"
- TextLabel40.TextColor = BrickColor.new("Institutional white")
- TextLabel40.TextColor3 = Color3.new(1, 1, 1)
- TextLabel40.TextSize = 17
- TextLabel40.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel40.TextStrokeTransparency = 0.5
- TextLabel40.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel40.TextYAlignment = Enum.TextYAlignment.Top
- Frame41.Name = "X"
- Frame41.Parent = Frame37
- Frame41.Position = UDim2.new(0, 0, 0.25, 0)
- Frame41.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame41.BackgroundColor = BrickColor.new("Institutional white")
- Frame41.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame41.BackgroundTransparency = 1
- Frame42.Name = "Main"
- Frame42.Parent = Frame41
- Frame42.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame42.BackgroundColor = BrickColor.new("Deep orange")
- Frame42.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame42.BorderSizePixel = 0
- TextLabel43.Name = "SkillName"
- TextLabel43.Parent = Frame41
- TextLabel43.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel43.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel43.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel43.BackgroundTransparency = 1
- TextLabel43.Font = Enum.Font.SourceSans
- TextLabel43.FontSize = Enum.FontSize.Size18
- TextLabel43.Text = "X"
- TextLabel43.TextColor = BrickColor.new("Institutional white")
- TextLabel43.TextColor3 = Color3.new(1, 1, 1)
- TextLabel43.TextSize = 17
- TextLabel43.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel43.TextStrokeTransparency = 0.5
- TextLabel43.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel43.TextYAlignment = Enum.TextYAlignment.Top
- Frame44.Name = "C"
- Frame44.Parent = Frame37
- Frame44.Position = UDim2.new(0, 0, 0.5, 0)
- Frame44.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame44.BackgroundColor = BrickColor.new("Institutional white")
- Frame44.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame44.BackgroundTransparency = 1
- Frame45.Name = "Main"
- Frame45.Parent = Frame44
- Frame45.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame45.BackgroundColor = BrickColor.new("Deep orange")
- Frame45.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame45.BorderSizePixel = 0
- TextLabel46.Name = "SkillName"
- TextLabel46.Parent = Frame44
- TextLabel46.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel46.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel46.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel46.BackgroundTransparency = 1
- TextLabel46.Font = Enum.Font.SourceSans
- TextLabel46.FontSize = Enum.FontSize.Size18
- TextLabel46.Text = "C"
- TextLabel46.TextColor = BrickColor.new("Institutional white")
- TextLabel46.TextColor3 = Color3.new(1, 1, 1)
- TextLabel46.TextSize = 17
- TextLabel46.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel46.TextStrokeTransparency = 0.5
- TextLabel46.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel46.TextYAlignment = Enum.TextYAlignment.Top
- Frame47.Name = "V"
- Frame47.Parent = Frame37
- Frame47.Position = UDim2.new(0, 0, 0.75, 0)
- Frame47.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame47.BackgroundColor = BrickColor.new("Institutional white")
- Frame47.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame47.BackgroundTransparency = 1
- Frame48.Name = "Main"
- Frame48.Parent = Frame47
- Frame48.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame48.BackgroundColor = BrickColor.new("Deep orange")
- Frame48.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Frame48.BorderSizePixel = 0
- TextLabel49.Name = "SkillName"
- TextLabel49.Parent = Frame47
- TextLabel49.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel49.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel49.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel49.BackgroundTransparency = 1
- TextLabel49.Font = Enum.Font.SourceSans
- TextLabel49.FontSize = Enum.FontSize.Size18
- TextLabel49.Text = "V"
- TextLabel49.TextColor = BrickColor.new("Institutional white")
- TextLabel49.TextColor3 = Color3.new(1, 1, 1)
- TextLabel49.TextSize = 17
- TextLabel49.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel49.TextStrokeTransparency = 0.5
- TextLabel49.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel49.TextYAlignment = Enum.TextYAlignment.Top
- Frame50.Name = "ASE"
- Frame50.Parent = Frame37
- Frame50.Position = UDim2.new(0.5, 0, 0, 0)
- Frame50.Visible = false
- Frame50.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame50.BackgroundColor = BrickColor.new("Institutional white")
- Frame50.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame50.BackgroundTransparency = 1
- Frame51.Name = "Main"
- Frame51.Parent = Frame50
- Frame51.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame51.BackgroundColor = BrickColor.new("New Yeller")
- Frame51.BackgroundColor3 = Color3.new(1, 1, 0)
- Frame51.BorderSizePixel = 0
- TextLabel52.Name = "SkillName"
- TextLabel52.Parent = Frame50
- TextLabel52.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel52.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel52.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel52.BackgroundTransparency = 1
- TextLabel52.Font = Enum.Font.SourceSans
- TextLabel52.FontSize = Enum.FontSize.Size18
- TextLabel52.Text = "ASE"
- TextLabel52.TextColor = BrickColor.new("Institutional white")
- TextLabel52.TextColor3 = Color3.new(1, 1, 1)
- TextLabel52.TextSize = 17
- TextLabel52.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel52.TextStrokeTransparency = 0.5
- TextLabel52.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel52.TextYAlignment = Enum.TextYAlignment.Top
- Frame53.Name = "DSDR"
- Frame53.Parent = Frame37
- Frame53.Position = UDim2.new(0.5, 0, 0.25, 0)
- Frame53.Visible = false
- Frame53.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame53.BackgroundColor = BrickColor.new("Institutional white")
- Frame53.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame53.BackgroundTransparency = 1
- Frame54.Name = "Main"
- Frame54.Parent = Frame53
- Frame54.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame54.BackgroundColor = BrickColor.new("New Yeller")
- Frame54.BackgroundColor3 = Color3.new(1, 1, 0)
- Frame54.BorderSizePixel = 0
- TextLabel55.Name = "SkillName"
- TextLabel55.Parent = Frame53
- TextLabel55.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel55.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel55.BackgroundTransparency = 1
- TextLabel55.Font = Enum.Font.SourceSans
- TextLabel55.FontSize = Enum.FontSize.Size18
- TextLabel55.Text = "DSDR"
- TextLabel55.TextColor = BrickColor.new("Institutional white")
- TextLabel55.TextColor3 = Color3.new(1, 1, 1)
- TextLabel55.TextSize = 17
- TextLabel55.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel55.TextStrokeTransparency = 0.5
- TextLabel55.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel55.TextYAlignment = Enum.TextYAlignment.Top
- Frame56.Name = "ASDER"
- Frame56.Parent = Frame37
- Frame56.Position = UDim2.new(0.5, 0, 0.5, 0)
- Frame56.Visible = false
- Frame56.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame56.BackgroundColor = BrickColor.new("Institutional white")
- Frame56.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame56.BackgroundTransparency = 1
- Frame57.Name = "Main"
- Frame57.Parent = Frame56
- Frame57.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame57.BackgroundColor = BrickColor.new("Really red")
- Frame57.BackgroundColor3 = Color3.new(1, 0, 0)
- Frame57.BorderSizePixel = 0
- TextLabel58.Name = "SkillName"
- TextLabel58.Parent = Frame56
- TextLabel58.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel58.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel58.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel58.BackgroundTransparency = 1
- TextLabel58.Font = Enum.Font.SourceSans
- TextLabel58.FontSize = Enum.FontSize.Size18
- TextLabel58.Text = "ASDER"
- TextLabel58.TextColor = BrickColor.new("Institutional white")
- TextLabel58.TextColor3 = Color3.new(1, 1, 1)
- TextLabel58.TextSize = 17
- TextLabel58.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel58.TextStrokeTransparency = 0.5
- TextLabel58.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel58.TextYAlignment = Enum.TextYAlignment.Top
- Frame59.Name = "T"
- Frame59.Parent = Frame37
- Frame59.Position = UDim2.new(0.25, 0, -0.25, 0)
- Frame59.Size = UDim2.new(0.400000006, 0, 0.25, 0)
- Frame59.BackgroundColor = BrickColor.new("Institutional white")
- Frame59.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame59.BackgroundTransparency = 1
- Frame60.Name = "Main"
- Frame60.Parent = Frame59
- Frame60.Size = UDim2.new(1, 0, 0.0500000007, 0)
- Frame60.BackgroundColor = BrickColor.new("Institutional white")
- Frame60.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame60.BorderSizePixel = 0
- TextLabel61.Name = "SkillName"
- TextLabel61.Parent = Frame59
- TextLabel61.Size = UDim2.new(0.200000003, 0, 1, 0)
- TextLabel61.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel61.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel61.BackgroundTransparency = 1
- TextLabel61.Font = Enum.Font.SourceSans
- TextLabel61.FontSize = Enum.FontSize.Size18
- TextLabel61.Text = "T - Taunt"
- TextLabel61.TextColor = BrickColor.new("Institutional white")
- TextLabel61.TextColor3 = Color3.new(1, 1, 1)
- TextLabel61.TextSize = 17
- TextLabel61.TextStrokeColor3 = Color3.new(0.345098, 0.345098, 0.345098)
- TextLabel61.TextStrokeTransparency = 0.5
- TextLabel61.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel61.TextYAlignment = Enum.TextYAlignment.Top
- Configuration62.Name = "Stats"
- Configuration62.Parent = mas
- NumberValue63.Name = "BaseDamage"
- NumberValue63.Parent = Configuration62
- NumberValue63.Value = 10
- NumberValue64.Name = "AtkSpeed"
- NumberValue64.Parent = Configuration62
- NumberValue64.Value = 1
- NumberValue65.Name = "AtkRange"
- NumberValue65.Parent = Configuration62
- NumberValue65.Value = 5
- BoolValue66.Name = "CanCastAbilities"
- BoolValue66.Parent = Configuration62
- BoolValue66.Value = true
- NumberValue67.Name = "FPS"
- NumberValue67.Parent = Configuration62
- NumberValue67.Value = 62
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = script
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
- wait(0.2)
- ---------------------------------------------------------------
- -- Script Made By basstracker1970
- -- Sans Class
- --Credit to Huge_Nazo for the Template
- --[[
- __________ _________ .__
- \______ \_____ ______ ____ \_ ___ \| | _____ ______ ______
- | | _/\__ \ / ___// __ \ / \ \/| | \__ \ / ___// ___/
- | | \ / __ \_\___ \\ ___/ \ \___| |__/ __ \_\___ \ \___ \
- |______ /(____ /____ >\___ > \______ /____(____ /____ >____ >
- \/ \/ \/ \/ \/ \/ \/ \/
- ___. .__
- \_ |__ ___.__. | |__ __ __ ____ ____ ____ _____ ____________
- | __ < | | | | \| | \/ ___\_/ __ \ / \\__ \ \___ / _ \
- | \_\ \___ | | Y \ | / /_/ > ___/| | \/ __ \_/ ( <_> )
- |___ / ____| |___| /____/\___ / \___ >___| (____ /_____ \____/
- \/\/ \/ /_____/ \/ \/ \/ \/
- --]]
- local plr = game.Players.LocalPlayer; repeat wait() until plr.Character
- local char = plr.Character
- local hume = char:WaitForChild("Humanoid")
- local animS = char:WaitForChild("Animate")
- local mouse = plr:GetMouse()
- --
- local head = char:WaitForChild("Head")
- local tors = char:WaitForChild("Torso")
- local rarm = char:WaitForChild("Right Arm")
- local larm = char:WaitForChild("Left Arm")
- local rleg = char:WaitForChild("Right Leg")
- local lleg = char:WaitForChild("Left Leg")
- local hrp = char:WaitForChild("HumanoidRootPart")
- --
- local hw = tors:WaitForChild("Neck")
- local tw = hrp:WaitForChild("RootJoint")
- local raw = tors:WaitForChild("Right Shoulder")
- local law = tors:WaitForChild("Left Shoulder")
- local rlw = tors:WaitForChild("Right Hip")
- local llw = tors:WaitForChild("Left Hip")
- -- Globals --
- local uis = game:GetService('UserInputService')
- local db = game:GetService("Debris")
- local ts = game:GetService("TweenService")
- local ti = TweenInfo.new
- local v3 = Vector3.new
- local cfn = CFrame.new
- local cfa = CFrame.Angles
- local effects = Instance.new("Model");effects.Parent=tors;effects.Name="effects"
- -- Global Variables --
- local ogdefWS = 16
- local defWS = 16
- local combostep = 1
- local combowait = 2
- local combotime = tick()
- local framerate = script.Stats:WaitForChild("FPS")
- local equipped = false
- local active = false
- local running = false
- local jumping = false
- local lwoverride = false
- local softoverride = false
- local wsoverride = false
- local pausedanims = {}
- local bAttacks = {}
- local bAbilities = {}
- local abilities = {
- {["name"] = "Z - Gaster Blaster",
- ["cd"] = 1,
- ["ccd"] = 0,
- ["key"] = "Z",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "X - Dual Gaster Blaster",
- ["cd"] = 2,
- ["ccd"] = 0,
- ["key"] = "X",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "C - Giant Gaster Blaster",
- ["cd"] = 3,
- ["ccd"] = 0,
- ["key"] = "C",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "V - Bad Time",
- ["cd"] = 4,
- ["ccd"] = 0,
- ["key"] = "V",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "T - Taunt",
- ["cd"] = 5,
- ["ccd"] = 0,
- ["key"] = "T",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "ASE - None",
- ["cd"] = 6,
- ["ccd"] = 0,
- ["key"] = "ASE",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- {["name"] = "DSDR - None",
- ["cd"] = 7,
- ["ccd"] = 0,
- ["key"] = "DSDR",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- {["name"] = "ASDER - None",
- ["cd"] = 8,
- ["ccd"] = 0,
- ["key"] = "ASDER",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- }
- local badtimeabilities = {
- {["name"] = "Z - Giant Gaster Blaster",
- ["cd"] = 1,
- ["ccd"] = 0,
- ["key"] = "Z",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "X - Dual Giant Gaster Blaster",
- ["cd"] = 2,
- ["ccd"] = 0,
- ["key"] = "X",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "C - Huge Gaster Blaster",
- ["cd"] = 3,
- ["ccd"] = 0,
- ["key"] = "C",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "V - Gaster Blaster Barrage",
- ["cd"] = 4,
- ["ccd"] = 0,
- ["key"] = "V",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "T - Taunt",
- ["cd"] = 5,
- ["ccd"] = 0,
- ["key"] = "T",
- ["ready"] = true,
- ["keystroke"] = false,
- },
- {["name"] = "ASE - None",
- ["cd"] = 6,
- ["ccd"] = 0,
- ["key"] = "ASE",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- {["name"] = "DSDR - None",
- ["cd"] = 7,
- ["ccd"] = 0,
- ["key"] = "DSDR",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- {["name"] = "ASDER - None",
- ["cd"] = 8,
- ["ccd"] = 0,
- ["key"] = "ASDER",
- ["ready"] = true,
- ["keystroke"] = true,
- },
- }
- local gmain = script:WaitForChild("SkillGui")
- local main = gmain:WaitForChild("Main")
- local buttons = {}
- for i,v in ipairs(abilities) do
- buttons[i] = main:WaitForChild(v.key)
- buttons[i]:WaitForChild("Main")
- end
- ----- Extremely Important Functions ------
- ArtificialHB = Instance.new("BindableEvent")
- ArtificialHB.Parent=script
- ArtificialHB.Name="Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / framerate.Value
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- frame = 1 / framerate.Value
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function Create(instance,prop)
- local ins = Instance.new(instance)
- for i,v in pairs(prop) do
- if i~="Parent" then
- ins[i]=v
- end
- end
- ins.Parent = prop.Parent or nil
- return ins
- end
- function CreatePart(properties)
- local p=Create("Part",{
- Anchored=true;
- CanCollide=false;
- Material="SmoothPlastic";
- Size=Vector3.new(1,1,1);
- Parent=effects;
- })
- local m=Create("SpecialMesh",{
- Scale=Vector3.new(1,1,1);
- MeshType="Brick";
- Parent=p;
- })
- for key,value in pairs(properties) do
- if pcall(function() if p[key] then end end) then
- p[key]=value
- end
- if pcall(function() if m[key] then end end) then
- m[key]=value
- end
- end
- return p,m
- end
- function CreateEffect(properties,goals,tweenInfo,betfunc,endFunc)
- local p,m = CreatePart(properties)
- local end_part_goals={}
- local end_mesh_goals={}
- for key,value in pairs(goals) do
- if pcall(function() if p[key] then end end) then
- end_part_goals[key]=value
- end
- if pcall(function() if m[key] then end end) then
- end_mesh_goals[key]=value
- end
- end
- Tween(p,tweenInfo,end_part_goals,betfunc,endFunc or function(p,m) game.Debris:AddItem(p,0) end,{p,m},{p,m})
- Tween(m,tweenInfo,end_mesh_goals)
- end
- function Decal(part,id,faces)
- local id = 'rbxasset//'..id
- local decals={}
- for i,v in pairs(faces) do
- local d = Instance.new("Decal")
- d.Texture=id
- d.Parent=part
- d.Face=v
- table.insert(decals,d)
- end
- return unpack(decals)
- end
- function Tween(instance,info,goals,betfunc,endfunc,s1,s2)
- spawn(function()
- local s1=s1 or {}
- local s2=s2 or {}
- local t=ts:Create(instance,info,goals)
- local done=false
- t.Completed:Connect(function() done=true end)
- t:Play()
- repeat swait() spawn(function() if betfunc then betfunc(unpack(s1)) end end) until done==true
- if endfunc then endfunc(unpack(s2)) end
- end)
- end
- function Bezier(P0,P1,P2,ALPHA)
- return P0:lerp(P1,ALPHA):lerp(P1:lerp(P2,ALPHA),ALPHA)
- end
- --[[
- function lightning(A,B,segments,col,mat)
- local dir = (B-A).unit
- local increment = (B-A).Magnitude/segments
- local oldpos = A
- local dump = Instance.new("Model");dump.Parent=workspace;dump.Name="Lightning"
- for i=1,segments do
- local nextpos = A + dir * increment * i
- 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)
- nextpos = nextpos + Vector3.new(math.random(-200,200)/100,math.random(-200,200)/100,0)
- part.CFrame = CFrame.new((nextpos+oldpos)/2,nextpos)
- if i == segments then
- nextpos = B --this is to make sure the last point wont be randomized
- end
- oldpos = nextpos
- end
- end
- ]]
- ----- Instances ------
- local bdmg = script:WaitForChild("Stats").BaseDamage
- local atkspd = script:WaitForChild("Stats").AtkSpeed
- local atkrange = script:WaitForChild("Stats").AtkRange
- local cancastab = script:WaitForChild("Stats").CanCastAbilities
- local dfunc = {
- function(hitHumanoid, damage, owner)
- if hitHumanoid == owner then return end
- if hitHumanoid.Parent:FindFirstChild("Head") ~= nil then
- local hithead = hitHumanoid.Parent:FindFirstChild("Head")
- 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'})
- local g = Create('BillboardGui',{Size = UDim2.new(0,0,0,0), Adornee = p, AlwaysOnTop = true, Parent = p})
- local t = Create('TextLabel',{Parent = g, Size = UDim2.new(1,0,1,0), BackgroundTransparency = 1, TextStrokeTransparency = 0, TextScaled = true, Font = Enum.Font.SourceSans})
- local hitnoises = {"199149186","199149137","199149221","199149235","199149269","199149297"}
- db:AddItem(p,10)
- hitHumanoid:TakeDamage(damage)
- -- ========================================================================================
- if damage <= -1 then -- player is being healed
- spawn(function()
- local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://535405197", Volume = 0.5})
- hitsound:Play()
- local selectcol = Color3.fromHSV(120/360,1,1)
- t.TextColor3= selectcol
- t.Text="+"..(math.abs(math.floor(damage)))
- t.TextStrokeColor3= Color3.new(0,0,0)
- t.TextTransparency = 1
- t.TextStrokeTransparency=1
- Tween(g,ti(.7,Enum.EasingStyle.Sine),{Size = UDim2.new(1.5,0,1.5,0), StudsOffset = v3(0,1,0)})
- Tween(t,ti(.7,Enum.EasingStyle.Sine),{TextTransparency = 0, TextStrokeTransparency = 0})
- swait(35)
- db:AddItem(p,.6)
- Tween(g,ti(.5,Enum.EasingStyle.Linear),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,2,0)})
- Tween(t,ti(.5,Enum.EasingStyle.Linear),{TextTransparency = 1, TextStrokeTransparency = 1})
- end)
- -- ========================================================================================
- -------------
- -- ========================================================================================
- elseif hitHumanoid.Parent:FindFirstChild("ForceField") ~= nil and hitHumanoid.Parent.ForceField:IsA("ForceField") then -- player is blocking attack or has forcefield
- spawn(function()
- local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://135436314", Volume = 0.5})
- hitsound:Play()
- local selectcol = Color3.fromHSV(math.random(197,216)/360,1,1)
- t.TextColor3= selectcol
- t.Text="Blocked"
- t.TextStrokeColor3= Color3.new(0,0,0)
- t.TextTransparency = 1
- t.TextStrokeTransparency=1
- Tween(g,ti(.5,Enum.EasingStyle.Bounce),{Size = UDim2.new(2.5,0,2.5,0), StudsOffset = v3(0,1,0)})
- Tween(t,ti(.5,Enum.EasingStyle.Quint),{TextTransparency = 0, TextStrokeTransparency = 0})
- swait(35)
- db:AddItem(p,.6)
- Tween(g,ti(.5,Enum.EasingStyle.Linear),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,1,0)})
- Tween(t,ti(.5,Enum.EasingStyle.Linear),{TextTransparency = 1, TextStrokeTransparency = 1})
- end)
- -- ========================================================================================
- -------------
- -- ========================================================================================
- elseif damage >= (hitHumanoid.MaxHealth * .25) then -- player dealt high amount of damage
- spawn(function()
- local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://"..hitnoises[math.random(1,#hitnoises)], Pitch = 1.2 ,Volume = 0.125+0.125*(damage/16)})
- hitsound:Play()
- local huey = 360
- local selectcol = Color3.fromHSV((huey-math.min((damage*10/hitHumanoid.MaxHealth),30))/360,damage/12,huey-huey+1)
- t.TextColor3= selectcol
- t.Text=math.floor(damage)
- t.TextStrokeColor3= Color3.new(0,0,0)
- t.TextTransparency = 1
- t.TextStrokeTransparency=1
- for i = 1,5 do
- 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)})
- Tween(t,ti(.25,Enum.EasingStyle.Elastic),{TextTransparency = 0, TextStrokeTransparency = 0, Rotation = math.random(-10,10)})
- swait()
- end
- swait(math.clamp(20+damage*1.5,1,150))
- db:AddItem(p,.6)
- Tween(g,ti(.5,Enum.EasingStyle.Sine),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,3,0)})
- Tween(t,ti(.5,Enum.EasingStyle.Sine),{TextTransparency = 1, TextStrokeTransparency = 1})
- end)
- -- ========================================================================================
- -------------
- -- ========================================================================================
- else -- player takes normal damage
- spawn(function()
- local hitsound = Create("Sound",{Parent = p,SoundId="rbxassetid://"..hitnoises[math.random(1,#hitnoises)], Volume = 0.125+0.125*(damage/16)})
- hitsound:Play()
- local huey = 56
- local selectcol = Color3.fromHSV((huey-math.min((damage*10/hitHumanoid.MaxHealth),30))/360,damage/12,huey-huey+1)
- t.TextColor3= selectcol
- t.Text=math.floor(damage)
- t.TextStrokeColor3= Color3.new(0,0,0)
- t.TextTransparency = 1
- t.TextStrokeTransparency=1
- Tween(g,ti(.25,Enum.EasingStyle.Quad),{Size = UDim2.new(2,0,2,0), StudsOffset = v3(0,1,0)})
- Tween(t,ti(.25,Enum.EasingStyle.Quad),{TextTransparency = 0, TextStrokeTransparency = 0})
- swait(math.clamp(20+damage*1.5,1,150))
- db:AddItem(p,.6)
- Tween(g,ti(.5,Enum.EasingStyle.Quad),{Size = UDim2.new(0,0,0,0), StudsOffset = v3(0,2,0)})
- Tween(t,ti(.5,Enum.EasingStyle.Quad),{TextTransparency = 1, TextStrokeTransparency = 1})
- end)
- -- ========================================================================================
- -------------
- end
- end
- end
- }
- ----- New Instances ------
- local equipS=Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 2})
- local uneqS=Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.75})
- local click1 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.1})
- local click2 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.2})
- local click3 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1.3})
- local click4 = Create("Sound",{Parent = tors, SoundId = "rbxasset://sounds//bass.wav", Volume = 1, Pitch = 1})
- ----- Animation Defaults ------
- local stand = {
- ["head"] = hw.C0,
- ["head1"] = hw.C1,
- ["tors"] = tw.C1,
- ["tors0"] = tw.C0,
- ["rarm"] = raw.C0,
- ["rarm1"] = raw.C1,
- ["larm"] = law.C0,
- ["larm1"] = law.C1,
- ["rleg"] = rlw.C0,
- ["rleg1"] = rlw.C1,
- ["lleg"] = llw.C0,
- ["lleg1"] = llw.C1,
- }
- ------ Primary Functions ------
- function stopAnims()
- pausedanims = {}
- for _,v in pairs(hume:GetPlayingAnimationTracks()) do v:Stop()
- table.insert(pausedanims, v)
- end end
- function resumeAnims()
- for _,v in pairs(pausedanims) do v:Play()
- end end
- function resetJoints()
- hw.C0 = stand.head; hw.C1 = stand.head1; tw.C1 = stand.tors; tw.C0 = stand.tors0
- raw.C0 = stand.rarm; raw.C1 = stand.rarm1; law.C0 = stand.larm; law.C1= stand.larm1
- rlw.C0 = stand.rleg; rlw.C1 = stand.rleg1; llw.C0 = stand.lleg; llw.C1 = stand.lleg1
- end
- function equip()
- local t = 15
- animS.Disabled = true; stopAnims()
- resetJoints()
- for i = 1, t do swait()
- -- anim here
- end
- --idletrack:Play(); equipS:Play()
- equipS:Play()
- end
- function unequip()
- local t = 15
- lwoverride = true
- for i = 1, t do swait()
- -- anim here
- end
- animS.Disabled = false
- resetJoints(); resumeAnims()
- lwoverride = false
- equipped= false
- uneqS:Play()
- end
- function checkPartMag(list, range)
- local targets = {}
- for _,v in pairs(list) do
- for _,x in pairs(workspace:GetChildren()) do
- local vhume = x:FindFirstChild("Humanoid")
- if vhume and vhume:IsA("Humanoid") then
- for _,y in pairs(x:GetChildren()) do
- if y:IsA("BasePart") and (v.Position - y.Position).magnitude <= range
- then table.insert(targets, x); break end
- end end end end
- return targets
- end
- function checkPosMag(pos, range)
- local targets = {}
- for _,x in pairs(workspace:GetChildren()) do
- local vhume = x:FindFirstChild("Humanoid")
- if vhume and vhume:IsA("Humanoid") then
- for _,y in pairs(x:GetChildren()) do
- if y:IsA("BasePart") and (pos - y.Position).magnitude <= range
- then table.insert(targets, x)
- print(x.Name) end
- end end end
- return targets
- end
- function strike(targ, dmg)
- local moddmg = math.floor(dmg)
- local crit = false
- if targ == char then return end
- local vhume = targ:FindFirstChild("Humanoid")
- if vhume and vhume:IsA("Humanoid") then
- moddmg = math.ceil(moddmg * (math.random(75, 150)/100))
- dfunc[1](vhume, moddmg, hume)
- end end
- function cooldown(num)
- local ab = abilities[num]
- local now = tick()
- spawn(function()
- ab.ready = false
- ab.ccd = ab.cd
- while ab.ccd > 0 do swait()
- repeat swait() until (tick()-now) >= 1
- or ab.ccd <= 0
- if ab.ccd > 0 then ab.ccd = ab.ccd - 1; now = tick()
- else break
- end end
- ab.ready = true
- end)
- end
- function attack()
- if combostep >= #bAttacks then combostep = 1
- else combostep = combostep + 1 end
- combotime = tick(); bAttacks[combostep]()
- softoverride = false; lwoverride = false
- wsoverride = false; hume.WalkSpeed = defWS
- end
- function cast(num)
- local ab = abilities[num]
- local func = bAbilities[num]
- if ab.ready and func then
- cooldown(num); func()
- end end
- local outerframe;
- local textbox;
- local maingui = Instance.new("BillboardGui")
- maingui.Name = "TextMan"
- maingui.Active = true
- maingui.AlwaysOnTop = true
- maingui.Enabled = true
- maingui.LightInfluence = 0.1
- maingui.MaxDistance = 80
- maingui.Parent = char.Head
- maingui.Adornee = char.Head
- maingui.Size = UDim2.new(5,0,2,0)
- maingui.StudsOffset = Vector3.new(0,4.5,0)
- local outerframe = Instance.new("Frame")
- outerframe.Parent = maingui
- outerframe.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- outerframe.BorderColor3 = Color3.fromRGB(117, 117, 117)
- outerframe.BackgroundTransparency = 0
- outerframe.BorderSizePixel = 0
- outerframe.Size = UDim2.new(1,0,0,0)
- outerframe.Name = "OuterFrame"
- local background = Instance.new("Frame")
- background.Parent = outerframe
- background.Name = "Background"
- background.BackgroundColor3 = tors.Color
- background.BorderColor3 = Color3.fromRGB(10,10,10)
- background.BorderSizePixel = 0
- background.Position = UDim2.new(0.013, 0,0.025, 0)
- background.Size = UDim2.new(0.975, 0,0.95, 0)
- local gradient1 = Instance.new("ImageLabel")
- gradient1.Parent = background
- gradient1.BackgroundTransparency = 1
- gradient1.Size = UDim2.new(1,0,1,0)
- gradient1.Image = "rbxassetid://156579757"
- local profile = Instance.new("Frame")
- profile.Parent = outerframe
- profile.Name = "Profile"
- profile.BackgroundColor3 = tors.Color
- profile.BorderColor3 = Color3.fromRGB(10,10,10)
- profile.BorderSizePixel = 0
- profile.Position = UDim2.new(0.013, 0,0.025, 0)
- profile.Size = UDim2.new(0.2, 0,0.45, 0)
- local gradient2 = Instance.new("ImageLabel")
- gradient2.Parent = profile
- gradient2.Name = "Gradient"
- gradient2.BackgroundTransparency = 1
- gradient2.Size = UDim2.new(1,0,1,0)
- gradient2.Image = "rbxassetid://343257804"
- local planame = Instance.new("TextLabel")
- planame.Name = "PlayerName"
- planame.Parent = outerframe
- planame.BackgroundTransparency = 1
- planame.Position = UDim2.new(0.013, 0,0, 0)
- planame.Size = UDim2.new(.2,0,0.2,0)
- planame.Font = Enum.Font.Arcade
- planame.Text = ""..plr.Name..""
- planame.TextColor3 = Color3.fromRGB(255, 255, 0)
- planame.TextStrokeTransparency = 0
- planame.TextScaled = true
- planame.TextStrokeColor3 = Color3.fromRGB(97, 77, 0)
- planame.TextXAlignment = Enum.TextXAlignment.Center
- planame.TextYAlignment = Enum.TextYAlignment.Top
- local textbox = Instance.new("TextLabel")
- textbox.Name = "Text"
- textbox.Text = ""
- textbox.Parent = outerframe
- textbox.BackgroundTransparency = 1
- textbox.Position = UDim2.new(0.225, 0,0, 0)
- textbox.Size = UDim2.new(0.755, 0,0.975, 0)
- textbox.TextColor3 = Color3.fromRGB(255, 255, 0)
- textbox.Font = Enum.Font.SourceSans
- textbox.TextScaled = false
- textbox.FontSize = Enum.FontSize.Size18
- textbox.TextWrapped = true
- textbox.TextStrokeTransparency = 0
- textbox.TextStrokeColor3 = Color3.fromRGB(97, 77, 0)
- textbox.TextXAlignment = Enum.TextXAlignment.Left
- textbox.TextYAlignment = Enum.TextYAlignment.Top
- local speaking = false
- local donespeaking = false
- local messagequeue = {}
- local fool = script.color
- fool.Parent = maingui
- function TauntMessage(msg)
- fool.Disabled = false
- local speaking = false
- local donespeaking = false
- local messagequeue = {}
- profile.BackgroundColor3 = tors.Color
- background.BackgroundColor3 = tors.Color
- if speaking == false and #messagequeue <= 1 then
- speaking = true
- donespeaking = false
- table.foreach(messagequeue,print)
- table.insert(messagequeue,msg)
- outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
- outerframe.BackgroundColor3 = Color3.fromRGB(75, 75, 75)
- outerframe.BorderSizePixel = 2
- background.BorderSizePixel = 1
- profile.BorderSizePixel = 1
- outerframe.BorderColor3 = Color3.fromRGB(117, 117, 117)
- background.BorderColor3 = Color3.fromRGB(10,10,10)
- profile.BorderColor3 = Color3.fromRGB(10,10,10)
- swait()
- local amount = string.len(msg)
- for i = 1,amount do
- textbox.Text = (string.sub(msg,1,i))
- local sound = Instance.new("Sound")
- sound.Parent=head
- sound.PlayOnRemove = true
- sound.SoundId ="rbxassetid://2469886818"
- sound.MaxDistance = 25
- swait(1)
- sound:Remove()
- end
- swait(math.clamp(60*(amount/15),60,240))
- textbox.Text = ""
- donespeaking = true
- swait()
- table.remove(messagequeue,#msg)
- if #messagequeue > 1 then
- else
- outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
- end
- elseif --[[(speaking == true) or --]] #messagequeue > 1 then
- repeat
- swait()
- until donespeaking == true
- outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
- speaking = true
- donespeaking = false
- table.insert(messagequeue,msg)
- table.foreach(messagequeue,print)
- outerframe:TweenSize(UDim2.new(1,0,1,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
- swait()
- local amount = string.len(msg)
- for i = 1,amount do
- textbox.Text = (string.sub(msg,1,i))
- local sound = Instance.new("Sound")
- sound.Parent=head
- sound.PlayOnRemove = true
- sound.SoundId ="rbxassetid://2469886818"
- sound.MaxDistance = 25
- swait()
- sound:Remove()
- end
- swait(math.clamp(60*(amount/15),60,240))
- textbox.Text = ""
- donespeaking = true
- swait()
- table.remove(messagequeue,#msg)
- if #messagequeue > 1 then
- else
- swait()
- outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Sine,.15)
- end
- end
- swait()
- speaking = false
- outerframe:TweenSize(UDim2.new(1,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Linear,.25)
- end
- -- Basic Attacks --
- bAttacks = {
- ------------------
- function()
- local t = math.ceil(15/atkspd.Value)
- local hitdb = {}
- print('C1')
- click1:Play()
- for i = 1, t do swait()
- -- upper anim
- if not running then softoverride = true
- -- lower anim
- end
- end
- for i = 1, 2 do swait()
- -- uperanim
- if not running then softoverride = true
- -- lower anim
- end
- for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
- if not hitdb[v] then hitdb[v] = true
- strike(v, bdmg.Value)
- end end
- if not active then break end
- end end,
- ------------------
- function()
- local t = math.ceil(15/atkspd.Value)
- local hitdb = {}
- print('C2')
- click2:Play()
- for i = 1, t do swait()
- -- upper anim
- if not running then softoverride = true
- -- lower anim
- end
- if not active then break end
- end
- for i = 1, t do swait()
- -- uperanim
- if not running then softoverride = true
- -- lower anim
- end
- for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
- if not hitdb[v] then hitdb[v] = true
- strike(v, bdmg.Value)
- end end
- if not active then break end
- end end,
- ------------------
- function()
- local t = math.ceil(15/atkspd.Value)
- local hitdb = {}
- print('C3')
- click3:Play()
- for i = 1, t do swait()
- -- upper anim
- if not running then softoverride = true
- -- lower anim
- end
- if not active then break end
- end
- for i = 1, t do swait()
- -- uperanim
- if not running then softoverride = true
- -- lower anim
- end
- for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
- if not hitdb[v] then hitdb[v] = true
- strike(v, bdmg.Value)
- end end
- if not active then break end
- end end,
- ------------------
- function()
- local t = math.ceil(15/atkspd.Value)
- local hitdb = {}
- print('C4')
- click4:Play()
- for i = 1, t do swait()
- -- upper anim
- if not running then softoverride = true
- -- lower anim
- end
- if not active then break end
- end
- for i = 1, t do swait()
- -- uperanim
- if not running then softoverride = true
- -- lower anim
- end
- for _,v in pairs(checkPartMag({tors}, atkrange.Value)) do
- if not hitdb[v] then hitdb[v] = true
- strike(v, bdmg.Value)
- end end
- if not active then break end
- end end,
- ------------------
- }
- -- Abilities --
- bAbilities = {
- function(Z)
- print('Z')
- attack = true
- local t = 20
- for i = 1, t do swait()
- ---stance:(Attack Animation)
- -------------------------------------------------------------------------------------------
- ---upper body stuff
- -------------------------------------------------------------------------------------------
- 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))
- 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))
- 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))
- 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))
- hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1, 0, 0, 0, -0.190808415, 0.981627345, 0, 0.981627345, 0.190808356), (i/t))
- hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- 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))
- tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- -------------------------------------------------------------------------------------------
- ---leg stuff
- -------------------------------------------------------------------------------------------
- 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))
- 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))
- 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))
- 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))
- -------------------------------------------------------------------------------------------
- end
- attack = false
- defWS = ogdefWS
- end,
- function(X)
- print('X')
- defWS = ogdefWS
- end,
- function(C)
- print('C')
- defWS = ogdefWS
- end,
- function(V)
- print('V')
- attack = true
- local t = 20
- TauntMessage("...")
- ---stance:(Bad Time Cutscene 1 Anim)
- -------------------------------------------------------------------------------------------
- ---upper body stuff
- -------------------------------------------------------------------------------------------
- for i = 1, t do swait()
- 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))
- 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))
- 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))
- 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))
- 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))
- hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- 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))
- tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- -------------------------------------------------------------------------------------------
- ---leg stuff
- -------------------------------------------------------------------------------------------
- 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))
- 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))
- 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))
- 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))
- end
- -------------------------------------------------------------------------------------------
- wait(1)
- TauntMessage("Welp...")
- wait(1)
- TauntMessage("Looks Like You Actually Got Me...")
- wait(1)
- TauntMessage("But Im Not Just Gonna Sit Here And Shatter...")
- wait(1)
- ---stance:(Bad Time Cutscene 2)
- -------------------------------------------------------------------------------------------
- ---upper body stuff
- -------------------------------------------------------------------------------------------
- for i = 1, t do swait()
- 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))
- 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))
- 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))
- 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))
- hw.C0 = hw.C0:lerp(cfn(0, 1, 0, -1, 0, 0, 0, -5.96046448e-07, 1, 0, 1, 5.36441803e-07), (i/t))
- hw.C1 = hw.C1:lerp(cfn(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- 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))
- tw.C1 = tw.C1:lerp(cfn(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0), (i/t))
- -------------------------------------------------------------------------------------------
- ---leg stuff
- -------------------------------------------------------------------------------------------
- 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))
- 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))
- 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))
- 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))
- -------------------------------------------------------------------------------------------
- end
- TauntMessage("So Prepare Yourself Kid...")
- wait(1)
- attack = false
- defWS = ogdefWS
- end,
- function(T)
- local taunts = {"Are You Ready To Have A Badtime?", "Not My Fault You Went Down That Path."}
- TauntMessage(tostring(taunts[math.random(1,#taunts)]))
- defWS = ogdefWS
- end,
- function(ASE)
- print('ASE')
- defWS = ogdefWS
- end,
- function(DSDR)
- print('DSDR')
- defWS = ogdefWS
- end,
- function(ASDER)
- print('ASDER')
- defWS = ogdefWS
- end,
- }
- -- coroutines
- ----------------------------------------------
- local sine = 1
- local change = 1
- local lastkeys = {}
- local keystrokewait = .25
- local keystroketime = tick()
- local backgroundfunctions = coroutine.resume(coroutine.create(function()
- while true do swait()
- ---------------------
- sine = sine + change
- ---------------------
- ---------------------
- for i,v in ipairs(buttons) do
- local ab = abilities[i]
- v.Main:TweenSize(UDim2.new(math.clamp((ab.cd - ab.ccd)/ab.cd,0,1), 0, 0.05, 0), "Out", "Sine", .1, true)
- if ab.ccd > 0 then v.SkillName.Text = ab.name.."("..ab.ccd..")"
- else v.SkillName.Text = ab.name
- end end
- ---------------------
- ---------------------
- local tvel = (hrp.Velocity * v3(1, 0, 1)).magnitude
- local groundcheck = Ray.new(hrp.Position, ((hrp.CFrame.p - Vector3.new(0, 1, 0)) - hrp.CFrame.p).unit * 4)
- local hit = workspace:FindPartOnRay(groundcheck, char)
- if hit then
- if jumping then jumping = false; end
- else jumping = true
- end
- if tvel > 2 then
- if not running then running = true; softoverride = false end
- elseif running then running = false
- end
- if (wsoverride or lwoverride) and not active then
- wsoverride = false; lwoverride = false
- end
- if not wsoverride then
- hume.WalkSpeed = defWS
- end
- ---------------------
- ---------------------
- if (tick()-keystroketime)>=keystrokewait
- and not active then lastkeys = {};
- end
- ---------------------
- ---------------------
- if (tick()-combotime)>=combowait
- and not active then combostep = 0
- end
- ---------------------
- end
- end))
- ----------------------------------------------
- local runanim = spawn(function()
- while true do swait()
- local vtvel = math.abs(hrp.Velocity.Y)
- local t = 20
- if equipped and not active then
- if jumping then
- t2 = 20
- if hrp.Velocity.Y > 1 then for i = 1, t2 do swait()
- rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
- 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))
- llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
- 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))
- if not jumping or lwoverride or softoverride
- or hrp.Velocity.Y < 1 then break end
- end
- else for i = 1, t2 do swait()
- rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
- 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))
- llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
- 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))
- if not jumping or lwoverride or softoverride
- or hrp.Velocity.Y > 1 then break end
- end end
- elseif running then while true do swait()
- local turn=-math.atan2((hrp.CFrame*tors.CFrame:inverse()).lookVector.X,-(hrp.CFrame*tors.CFrame:inverse()).lookVector.Z)
- 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))
- 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))
- 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))
- 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))
- if not running or jumping or lwoverride or softoverride then break end
- end
- for i = 1, t do swait()
- -- run anim2
- ----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))
- ----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))
- ----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))
- ---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))
- if not running or jumping or active then break end
- end
- else t = 60
- for i = 1, t do swait()
- -- idle anim
- ---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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- rlw.C0 = rlw.C0:lerp(cfn(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
- rlw.C1 = rlw.C1:lerp(cfn(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0), (i/t))
- llw.C0 = llw.C0:lerp(cfn(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
- llw.C1 = llw.C1:lerp(cfn(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0), (i/t))
- if running or jumping or active then break end
- end end end end end)
- ----------------------------------------------
- local legwalk = spawn(function()
- while true do swait()
- local t = math.ceil(300/hume.WalkSpeed)
- local t2 = 20
- if equipped and not (lwoverride or softoverride) then
- if jumping then
- if hrp.Velocity.Y > 1 then for i = 1, t2 do swait()
- -- jump anim
- if not jumping or lwoverride or softoverride
- or hrp.Velocity.Y < 1 then break end
- end
- else for i = 1, t2 do swait()
- -- fall anim
- if not jumping or lwoverride or softoverride
- or hrp.Velocity.Y > 1 then break end
- end end
- elseif running then for i = 1, t do swait()
- -- run anim1
- if not running or jumping or lwoverride or softoverride then break end
- end
- if running and not jumping then for i = 1, t do swait()
- -- run anim2
- if not running or lwoverride or softoverride then break end
- end end
- else for i = 1, t do swait()
- -- idle anim
- if running or jumping or lwoverride or softoverride then break end
- end end
- elseif not equipped then
- rlw.C0 = stand.rleg; llw.C0 = stand.lleg
- end end end)
- ----------------------------------------------
- -- Input Events
- mouse.Button1Down:connect(function()
- if equipped and not active then active = true
- ---attack(); active = false
- end end)
- --[[
- uis.InputBegan:connect(function(key)
- ----------------------------------------------------]
- for i,v in ipairs(abilities) do
- if key.KeyCode == v.key then
- if equipped and cancastab.Value == true and not active then
- active = true; cast(i); active = false
- end end end
- if key.KeyCode == Enum.KeyCode.Q then
- if not equipped then equipped = true; active = true
- equip(); active = false
- print'equipped'
- else if not active then active = true
- unequip(); active = false; equipped = false
- print'unequipped'
- end end end
- ----------------------------------------------------]
- end)
- ]]
- script.SkillGui.Parent=plr.PlayerGui
- mouse.KeyDown:connect(function(key)
- key = key:lower()
- keystroketime = tick()
- table.insert(lastkeys,string.upper(key))
- for i,v in ipairs(abilities) do
- if table.concat(lastkeys) == v.key and v.keystroke == true then
- if equipped and cancastab.Value == true and not active then
- active = true; cast(i); active = false
- end end
- if key == v.key:lower() and v.keystroke == false then
- if equipped and cancastab.Value == true and not active then
- active = true; cast(i); active = false
- end end end
- if key == "q" then
- if not equipped then equipped = true; active = true
- equip(); active = false
- print'equipped'
- else if not active then active = true
- unequip(); active = false; equipped = false
- print'unequipped'
- end end end end)
- -- Arbitrary End Code --
Add Comment
Please, Sign In to add comment