Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------------------------------------------------------------------
- combat
- game:GetService('RunService').RenderStepped:connect(function()
- local f =
- {
- ["LeftLowerArm"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftLowerArm,
- ["RightUpperArm"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightUpperArm,
- ["LeftFoot"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftFoot,
- ["RightHand"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightHand,
- ["RightLowerArm"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightLowerArm,
- ["LeftUpperLeg"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftUpperLeg,
- ["LeftUpperArm"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftUpperArm,
- ["Character"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name],
- ["LeftHand"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftHand,
- ["RightFoot"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightFoot,
- ["Humanoid"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid,
- ["RightLowerLeg"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightLowerLeg,
- ["RightUpperLeg"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightUpperLeg,
- ["LeftLowerLeg"] = game:GetService("Workspace")[game.Players.LocalPlayer.Name].LeftLowerLeg
- }
- local path = game:GetService("ReplicatedStorage").Remotes.Training.Combat
- path:InvokeServer(f)
- end)
- -----------------------------------------------------------------------------------
- energy
- game:GetService('RunService').RenderStepped:connect(function()
- local f = "Right"
- local path = game:GetService("ReplicatedStorage").Remotes.Actions.EnergyBlast
- path:InvokeServer(f)
- wait()
- local f = game:GetService("Players")[game.Players.LocalPlayer.Name].Status
- local g = game:GetService("Workspace")[game.Players.LocalPlayer.Name].UpperTorso
- local h = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid
- local path = game:GetService("ReplicatedStorage").Remotes.Training.Charge
- path:InvokeServer(f, g, h)
- end)
- --------------------------------------------------------------------------------
- defense
- game:GetService('RunService').RenderStepped:connect(function()
- local f = game:GetService("Players")[game.Players.LocalPlayer.Name].Stats
- local g = game:GetService("Players")[game.Players.LocalPlayer.Name].Status
- local h = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid
- local e = game:GetService("Workspace")[game.Players.LocalPlayer.Name].RightHand
- local path = game:GetService("ReplicatedStorage").Remotes.Training.Defense
- path:InvokeServer(f, g, h, e)
- wait()
- local f = game:GetService("Players")[game.Players.LocalPlayer.Name].Status
- local g = game:GetService("Workspace")[game.Players.LocalPlayer.Name].UpperTorso
- local h = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid
- local path = game:GetService("ReplicatedStorage").Remotes.Training.Charge
- path:InvokeServer(f, g, h)
- end)
- ----------------------------------------------------------------------------------
- auto charge
- game:GetService('RunService').RenderStepped:connect(function()
- local f = game:GetService("Players")[game.Players.LocalPlayer.Name].Status
- local g = game:GetService("Workspace")[game.Players.LocalPlayer.Name].UpperTorso
- local h = game:GetService("Workspace")[game.Players.LocalPlayer.Name].Humanoid
- local path = game:GetService("ReplicatedStorage").Remotes.Training.Charge
- path:InvokeServer(f, g, h)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement