Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mouse = game.Players.LocalPlayer:GetMouse()
- function GetEvent()
- for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
- if v.ClassName == 'RemoteEvent' then
- return v
- end
- end
- end
- function GetFunction()
- for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
- if v.ClassName == 'RemoteFunction' then
- return v
- end
- end
- end
- function a(Ability)
- local tbl_main =
- {
- "UseAbility",
- "Ares",
- Ability,--"Hellfire",
- mouse.Hit,
- mouse.Target
- }
- GetEvent():FireServer(unpack(tbl_main))
- end
- uip = game:GetService'UserInputService'
- while wait() do
- if game:GetService'Workspace':FindFirstChild'EffectFolder' then
- workspace:FindFirstChild'EffectFolder':ClearAllChildren()
- end
- if uip:IsKeyDown(Enum.KeyCode.E) then
- print(mouse.Target:GetFullName())
- a('Spear Throw')
- end
- if uip:IsKeyDown(Enum.KeyCode.R) then
- a('Axe Flurry')
- end
- if uip:IsKeyDown(Enum.KeyCode.Q) then
- local pos = game.Players.LocalPlayer.Character.Head.Position
- wait()
- game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-82,55,33))
- wait(.5)
- game.Players.LocalPlayer.Character:MoveTo(pos)
- end
- if uip:IsKeyDown(Enum.KeyCode.T) then
- a('Sword Jab')
- end
- if uip:IsKeyDown(Enum.KeyCode.Y) then
- a('Meteor Crash')
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement