#Proximity Prompt
1 messages · Page 1 of 1 (latest)
** You are now Level 2! **
like it doesn't print anything when triggered
show explorer?
is it directly parented to the prompt?
also is it a script cuz localscript wont work
yes
it's a normal script
can u show explorer just to be sure
is the part in workspace?
yes
does the properties change anything?
Show the properties of the proximity
ill get on studio rq and try to get it working for me
the part's properties are the default
just changed the anchored to true
well it worked for me lol
yea weird
it should work
Have you changed the camera subject somewhere
what's that
its just what the camera rotates around but if you dont know its fine
uhh
ill copy ur proximity settings
I also tried uninstalling roblox studio
still doesn't work
I'll see if it works in another place
yep still works for me even with your proximity prompt settings
it must be another script doing something
try waiting for the part to load?
I only have a single script inside of serverscriptservice
nothing else
weird
** You are now Level 8! **
Try a different studio place and see if it works in there
I just tried and it works
let's say it's a very long script
but it shouldnt disturb that script its craxy
Ill just disable it and see if it works
alr
is your server script delete every scripts inside the workspace?
u can add print"(works") before ur proximity prompt script so see if it works
if it doesnt print anything
ur server script is the main cause then
yeah the serverscript script is the cause
Can I see?
I deleted a data saving section and it now works?
Thats really weird lol
can u send it as this
Plrs.PlayerAdded:Connect(function(Plr)
Create("Folder", Plr, "leaderstats")
local l = Plr:WaitForChild("leaderstats")
Create("IntValue", l, "Cash")
local c = l:WaitForChild("Cash")
local success, errormsg = pcall(function()
local Data = DS:GetAsync(Plr.UserId)
if Data then
c.Value = Data[1]
else
c.Value = 50
end
end)
task.wait(1)
for i, v in Map:FindFirstChild("Bases"):GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == "None" then
v.Owner.Value = Plr.Name
task.wait(1)
local char = Plr.Character or Plr.CharacterAdded:Wait()
char.HumanoidRootPart.Position = v.Floor.Position + Vector3.new(0,2,0)
break
end
end
Plr.CharacterAdded:Connect(function(char)
for i, v in Map:FindFirstChild("Bases"):GetChildren() do
if v:FindFirstChild("Owner") and v.Owner.Value == tostring(Plr.Name) then
char.HumanoidRootPart.Position = v.Floor.Position + Vector3.new(0,2,0)
break
end
end
end)
end)
function Save(Plr:Player)
local success, errormsg = pcall(function()
local l:Folder = Plr:WaitForChild("leaderstats")
DS:SetAsync(Plr.UserId, {
l.Cash.Value
})
end)
end
Plrs.PlayerRemoving:Connect(Save)
game:BindToClose(function()
for _,plr:Player in Plrs:GetPlayers() do
Save(plr)
end
end)
that?
its probably the
char.HumanoidRootPart.Position = v.Floor.Position + Vector3.new(0,2,0)
line
i dont see anything else that could cause it lol
nvm that was actually the problem
but then how do i teleport the player 😭
teleport the model?
pivoto?
yeah
ok it works now