of     1   

ManxFox
#198380270Tuesday, September 13, 2016 5:00 PM GMT

Okay, so, I'm working on a new game, right and I'm using the correct functions/such mentioned on the wiki, I've tried setting name Occlusion via Enum's, int's and also the name of the value in a string "NoOcclusion". no matter what I do it just will not work in game. Now I've tested it in a local server in studio and it works find no problem, but as soon as I go into a game it just will not do anything, here is the catch though. It IS changing the value to NoOcclusion (I checked by printing my Humanoid's name Occlusion through dev console) so I legit have no idea why it isnt working... script is as such: game.Players.PlayerAdded:connect(function(newP) newP.CharacterAdded:connect(function(char) char:WaitForChild("Humanoid").NameOcclusion = Enum.NameOcclusion.NoOcclusion print(char.Humanoid.NameOcclusion) char.HumanoidJumpPower = 53 end) end) now, another wierd thing to prove my point about the script running is that my jump power is also changing when the script runs, meaning there is no errors in the script.. The script is also in workspace. Any Ideas?
Milenveliki
#198380332Tuesday, September 13, 2016 5:03 PM GMT

"char.HumanoidJumpPower = 53" char.Humanoid.JumpPower = 53
ManxFox
#198380360Tuesday, September 13, 2016 5:04 PM GMT

my bad, I wrote the script into the forum post in a hurry so I wasn't really checking for errors, the script actually IS correct
Milenveliki
#198380380Tuesday, September 13, 2016 5:05 PM GMT

...
ManxFox
#198380411Tuesday, September 13, 2016 5:06 PM GMT

here I'll paste the ACTUAL script into here: game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").NameOcclusion = Enum.NameOcclusion.NoOcclusion print(character.Humanoid.NameOcclusion) character.Humanoid.JumpPower = 53 end) end)
Milenveliki
#198380680Tuesday, September 13, 2016 5:17 PM GMT

--[[here I'll paste the ACTUAL script into here: ]]game:GetService("Players").PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) character:WaitForChild("Humanoid").DisplayDistanceType=('None') --[[print(character.Humanoid.NameOcclusion)]] character:WaitForChild("Humanoid").JumpPower=(67) end)end)
ManxFox
#198380814Tuesday, September 13, 2016 5:22 PM GMT

I'm not trying to turn OFF NameOcclusion, NameOcclusion is turned off by default in games now on ROBLOX, I'm trying to turn it ON so you can see players through walls :P I'll attempt the GetService approach but I don't understand why that would give me a different result assuming the function fires even without that line being edited. Thanks
ManxFox
#198380931Tuesday, September 13, 2016 5:26 PM GMT

Yeah, nope.. Didn't work ._. I'm seriously failing to understand why this is working fine in studio testing yet in game it just isn't!?!?
Milenveliki
#198380951Tuesday, September 13, 2016 5:27 PM GMT

oops i got you want players to can't see each other trough wallz :'( " :P
ManxFox
#198381006Tuesday, September 13, 2016 5:29 PM GMT

Haha, no probs man :P Yeah I'm making a classic style game and having players being able to be seen through walls is kinda a major thing in it :P problem is, the script just doesn't seem to want to work with me, I don't know why it's setting the value to what I want but not actually giving me the effect I want in game... Makes no sense :L
Milenveliki
#198381119Tuesday, September 13, 2016 5:32 PM GMT

ok.. i mean no ok :D
Salinas23
#198381897Tuesday, September 13, 2016 5:57 PM GMT

Have you tried using remoteevents and changing it through a local script on every player?
ManxFox
#198381972Tuesday, September 13, 2016 5:59 PM GMT

FilteringEnabled isn't on so I don't need any RemoteEvents :L
nightowl2014
#223679733Tuesday, August 15, 2017 12:06 AM GMT

Im having the same issue. Ive set it to All ########## i can still see the name of my NPC ########## through walls.

    of     1