so, i tried making a ball jump like in sonic games, everything is placed where it should be, but when the player jumps nothing happens, there's no output error or print,
local jumpin = script.Parent
local human = script.Parent.Parent.Humanoid
while true do
wait()
if human.Jumping == true then
print("Jump")
local transparencia = 1
for k,v in pairs (jumpin:GetChildren())do
if v:IsA("BasePart") then
v.Transparency = transparencia
script.Parent.Transparency = 0
human.Parent.HumanoidRootPart.Transparency = 1
end
end
end
if human.Jumping == false then
print("Floor")
local transparencia = 0
for k,v in pairs (jumpin:GetChildren())do
if v:IsA("BasePart") then
v.Transparency = transparencia
script.Parent.Transparency = 1
human.Parent.HumanoidRootPart.Transparency = 1
end
end
end
end

2 comments
Does it print "floor"?
I got you @EgoMoose