You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
i need my supply drop to drop like it would in fortnite -
What is the issue? Include screenshots / videos if possible!
i have a script but it stops falling when the player toutches it… it also sometimes stops falling in the sky i added a print and it says it toutched the baseplate… its not toutching the baseplate its floating -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
if tried checking if the player toutched it but i keep running into problems… ive also serched dev hub but to no availl
-- Script Under The Supply Drop Model
local FallRate = -10
local Toutched = false
script.Parent.Part.Touched:Connect(function(toutcher)
print(toutcher)
local w = toutcher.Parent:FindFirstChild("HumanoidRootPart")
if not w then
for i,v in pairs(script.Parent:GetDescendants()) do
if v:IsA("BasePart") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("Part") then
v.Anchored = true
end
end
Toutched = true
script:Destroy()
end
end)
repeat
script.Parent.PrimaryPart.Velocity = Vector3.new(0,FallRate,0)
task.wait(0.00005)
until Toutched == true