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
 

Re: Instance a TouchInterest?

Previous Thread :: Next Thread 
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:20 AM
Won't let me.
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:24 AM
b
Report Abuse
Borsy is not online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
07 Jun 2016 08:25 AM
you don't, and please stop posting seperate threads just update people on your current thread


ℋ𝓪 ℋ𝓪 𝓢𝓱𝓪𝓻𝒆 𝓘𝒇 𝓨𝓸𝓾 𝓐𝓰𝓻𝒆𝒆 😂😂😂😂 | originally Reset2378658
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:26 AM
They forget about my old threads. Also, the reason the script isn't activating in the first place is because the TouchInterest isn't automatically spawning in.
Report Abuse
Borsy is not online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
07 Jun 2016 08:30 AM
you're probably messing something up with FE and you can't make people forget about a post when its on top of their "MyForums" or top of the scripters subsection


ℋ𝓪 ℋ𝓪 𝓢𝓱𝓪𝓻𝒆 𝓘𝒇 𝓨𝓸𝓾 𝓐𝓰𝓻𝒆𝒆 😂😂😂😂 | originally Reset2378658
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:34 AM
I was told to use FE.

https://www.roblox.com/Local-Parts-item?id=427435530
Report Abuse
Borsy is not online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
07 Jun 2016 08:36 AM
@online
you should stop asking everyone on scripters subforum to do all the work for you, you'll never learn to script if you ask other people to script for you


ℋ𝓪 ℋ𝓪 𝓢𝓱𝓪𝓻𝒆 𝓘𝒇 𝓨𝓸𝓾 𝓐𝓰𝓻𝒆𝒆 😂😂😂😂 | originally Reset2378658
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:38 AM
@Borsy, I've looked on at least ten different websites, and have been trying for days to figure this out. Do you not think I'd try before coming to the forums? Also, this is how I learn.
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:39 AM
And they're not doing 'all the work for' me if they only need to help with one or two lines of code.
Report Abuse
Borsy is not online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
07 Jun 2016 08:45 AM
@online
they're clearly doing all the work for you if they told you to enable filteringenabled and you dont know what filteringenabled does or how to make scripts work with filteringenabled

wiki.roblox.com use this


ℋ𝓪 ℋ𝓪 𝓢𝓱𝓪𝓻𝒆 𝓘𝒇 𝓨𝓸𝓾 𝓐𝓰𝓻𝒆𝒆 😂😂😂😂 | originally Reset2378658
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 08:49 AM
Telling me to use FilteringEnabled is not doing all the work for me. Also, if you want to post on my forums, make your comments helpful, not annoying.
Report Abuse
Borsy is not online. Borsy
Joined: 31 Jul 2014
Total Posts: 15111
07 Jun 2016 08:57 AM
@online
stop asking random people for help with your scripting and learn a bit of scripting yourself
if you're gonna try to make an entire game full of scripting but have to ask the forums for help with each line of code, then you'll take 2 and a half years to finish your game


ℋ𝓪 ℋ𝓪 𝓢𝓱𝓪𝓻𝒆 𝓘𝒇 𝓨𝓸𝓾 𝓐𝓰𝓻𝒆𝒆 😂😂😂😂 | originally Reset2378658
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 09:04 AM
What did I say about not being annoying?
Report Abuse
WoolHat is online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
07 Jun 2016 09:09 AM
Borsy, stop being a butt, or start being helpful.

Also, why would you use touchinterest? I'm fairly certain that they are only made when one uses the .Touched event. (If I'm wrong about that do tell me)

Just use Touched events. Unless I'm not getting something
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 09:14 AM
Yep. I'm using a Touched event, and the TouchedInterest only appears when I'm in F6 mode.

local parent = script.Parent
local part = parent
local changing = false
local waitTime = 3

function onTouched(hit)
waitTime = 3

if --[===[player:GetRankInGroup(2851915) >= 5 and ]===]changing == false then
changing = true
parent.CanCollide = false
parent.Transparency = 0.2

for i = 0, 30, 1 do
wait(0.05)
parent.CFrame = part.CFrame * CFrame.new(0.1, 0, 0)
end

repeat
wait(1)
waitTime = waitTime - 1
until waitTime <= 0

for i = 0, 30, 1 do
wait(0.05)
parent.CFrame = part.CFrame * CFrame.new(-0.1, 0, 0)
end

parent.Transparency = 0
parent.CanCollide = true
changing = false
end
end

parent.Touched:connect(onTouched)
Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:14 AM
TouchInterest only appears when there's a script that uses a Touched event.

And you shouldn't ask the Scripters forum for everything. The Wiki will usually explain older APIs better in a much more concise manner.
Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:17 AM
oh god that code is pretty ugly... haha

nothing's wrong with it and it should work with FE if you're not a total idiot and did something wrong physically
Report Abuse
OnlineOne is online. OnlineOne
Joined: 14 Jul 2011
Total Posts: 1193
07 Jun 2016 09:18 AM
I tried FE, and it screwed up my gears.
Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:19 AM
yeah it's pretty obvious now OP doesn't know what FE does

don't use FE, you will likely never find exploiters (unless if you're a clannie or something)

it makes code so much more inefficient and rigid
Report Abuse
wonderful72pike is online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
07 Jun 2016 09:22 AM
I just turned FE and everything I have worked perfectly? I'd say it's a problem with ROBLOX...
Report Abuse
Wittiest is not online. Wittiest
Joined: 02 Mar 2009
Total Posts: 9665
07 Jun 2016 09:25 AM
@lagio,

You have no idea what you are talking about. FE basically makes us create our games the way we should create them, with clients handling certain things like User Interface and only communicating with the server when necessary.

He is using local parts. He can put them in the Camera and deal with that disgusting nonsense, or he can use FilteringEnabled.

FilteringEnabled doesn't make code inefficient.

There are tons of exploiters in popular games that don't have FilteringEnabled when a new ROBLOX Exploit is leaked.


Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:28 AM
@Witt

regardless, FE makes code much more rigid

a regular 10 line localscript code in a tool would be dragged out into a remote function, server script that listens for the localscript, and the localscript would be turned into a different 10 lines that fire the remote function
Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:30 AM
imagine how much you'd have to rewrite a hopperbin to fit FE

the very concept of a hopperbin uses localscripts to handle everything
Report Abuse
wonderful72pike is online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
07 Jun 2016 09:31 AM
@lagio

Good thing Hopperbins have been removed from ROBLOX :D
Report Abuse
lagio is not online. lagio
Joined: 16 Jan 2010
Total Posts: 10296
07 Jun 2016 09:33 AM
@wonderful

they haven't been removed, i use them all the time in fighting games lol

why would you make PSI abilities into a tool rather than make it look like it came from ur mind

i've been experimenting with a better method but
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