Can someone help me make a ClickTeleporter that has limit range without Blocks just click but with limit range im planning to make a Simulator game the problem is i dont know how to speak LUA language if you can help me learn lua that would be great! but if you can help me get a clickteleporter limited range that will be also Great!
How do you put a limited range in a clickteleporter? Roblox
1 answer
Honestly, I not moderating these types of questions. Somehow there's have some newbies don't know how to script, and ask here, isn't that very innocent to the question asker if you moderated it?
Ok, follow my steps.
Prepare 1 part to your game.
Make the part.CanCollide becomes false.
Also, make sure that the part was anchored!
And, insert a ClickDetector to the part, and set the MaxActivationDistance to the distance you want. Default to 32.
Now enter this script, make sure the script is parented by the part:
function onClicked()
local c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character:FindFirstChild("HumanoidRootPart").CFrame = CFrame.new(script.Parent.Position) - Change Teleport1 to Teleport on 2nd brick
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
There you go! If that's not working, try it out to set ur avatar to R6!
I'll improve the script if there's any problem!
And if you have more questions, PM me in ROBLOX, or comment below!
Bye bye~~~~~~
edits: grammars and stufffffsssss
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Is... Is that a request?
Until you attempt some code, da ga kotowaru