Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
|
| 04 Mar 2017 09:08 AM |
This script has a while loop and doesnt leave any errors, worry about that later. That includes file directory.
The script right here isn't teleporting the players to another place when it's triggered, Why?
for _,v in ipairs(lazr:GetTouchingParts()) do local player = game.Players:GetPlayerFromCharacter(v.Parent) if player then v.Parent.HumanoidRootPart.CFrame = CP2.CFrame end end for _,v in ipairs(lazr2:GetTouchingParts()) do local player = game.Players:GetPlayerFromCharacter(v.Parent) if player then v.Parent.HumanoidRootPart.CFrame = CP2.CFrame end end |
|
|
| Report Abuse |
|
Gofven
|
  |
| Joined: 18 Jun 2015 |
| Total Posts: 767 |
|
|
| 04 Mar 2017 09:15 AM |
| You gotta be kidding me... I realised that roblox requires a touched function to make it possible or it wont trigger... Wow. |
|
|
| Report Abuse |
|