-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathball.Lua
More file actions
25 lines (22 loc) · 731 Bytes
/
ball.Lua
File metadata and controls
25 lines (22 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--fully made by me idc if you steal
player = game.Players.LocalPlayer.Character
player.Humanoid.PlatformStand = true
local ball = Instance.new("Part",player)
local pvector = player.HumanoidRootPart.Position
ball.Position = Vector3.new(pvector.X,pvector.Y-0.55,pvector.Z)
ball.Name = "ball"
ball.Shape = "Ball"
ball.Size = Vector3.new(6,6,6)
ball.Material = "SmoothPlastic"
ball.Transparency = 0.40
local force = Instance.new("BodyForce",ball)
local weld = Instance.new("WeldConstraint",player)
weld.Part0 = ball
weld.Part1 = player.HumanoidRootPart
while wait(0.01) do
player.Humanoid.PlatformStand = true
force.Force = player.Humanoid.MoveDirection * 1500
if player.Humanoid.Health == 0 then
break
end
end