Run it
Copy the script and paste it into your executor.
local p=game:GetService("Players").LocalPlayer
local u=game:GetService("UserInputService")
local g=Instance.new("ScreenGui") g.Parent=game.CoreGui
f=.() f.Parent=g f.Size=.(,,,) f.Position=.(,-,,-) f.BackgroundColor3=.(,,) .(,f)
t=.() t.Parent=f t.Size=.(,,,) t.BackgroundTransparency= t.Text= t.TextScaled= t.TextColor3=.(,,)
b=.() b.Parent=f b.Size=.(,,,) b.Position=.(,,,)
b.Text= b.TextScaled= b.BackgroundColor3=.(,,) b.TextColor3=.(,,) .(,b)
x=.() x.Parent=f x.Size=.(,,,) x.Position=.(,-,,)
x.Text= x.TextScaled= x.BackgroundColor3=.(,,) x.TextColor3=.(,,) .(,x)
drag= mp fp
f.InputBegan:((i) i.UserInputType==.UserInputType.MouseButton1 drag= mp=i.Position fp=f.Position )
u.InputChanged:((i) drag i.UserInputType==.UserInputType.MouseMovement d=i.Position-mp f.Position=fp+.(,d.X,,d.Y) )
u.InputEnded:((i) i.UserInputType==.UserInputType.MouseButton1 drag= )
animId=
track=
on=
b.MouseButton1Click:(()
on= on
on b.Text= b.BackgroundColor3=.(,,) b.Text= b.BackgroundColor3=.(,,) track track:()
)
u.InputBegan:((i,gp)
gp
i.KeyCode==.KeyCode.LeftShift i.KeyCode==.KeyCode.RightShift
on
track track:()
c=p.Character p.CharacterAdded:()
h=c:()
a=.() a.AnimationId=animId
track=h:(a)
track.Looped=
track.Priority=.AnimationPriority.Action4
track:()
)
u.InputEnded:((i)
i.KeyCode==.KeyCode.LeftShift i.KeyCode==.KeyCode.RightShift
track track:()
)
x.MouseButton1Click:(() track track:() g:() )
p.CharacterAdded:(() track track:() )
I copied the running animation from the Invictus Rex (rbxassetid://116194318450051) and set it to play whenever you hold down the "shift" key. In other words, it's not a great infinite stamina, but it's not bad either. In future updates (if there are any) I'll add sprint speed as well. I put the script as Open Source because it's simple and easy to do. 💎 Anyone can modify it without giving credits 💎 (Sorry for the "messy" script)
Jurassic Blocky