generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Doesnt trigger?

Previous Thread :: Next Thread 
Gofven is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image