Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I make a Wall Walking for my game?

I'm making a game, and I wanted to know what you want I can make a Wall Walking case is possible.

Not demand scripts, I want an explanation of how it works.

6 comments

0

what do you mean wall walking

0

The player can walk on the wall :\ (Obvious)

0

Well this isn't a request forum

0

Please remember this isn't a request site. Without some sort of effort, people are highly unlikely to help you.

0

I'm not asking for a script, I just want help with a script

0

if you do not want to help, you need not give deslike and talk about What you think, just go to another asks from already that you will not answer this.

1 answer

✓ Accepted answer

Correct me if I'm wrong, but I think that you mean that you want to make the player control a part (move it and jump using WASD and spacebar). I experimented with this a while back, and kind of succeeded, but only in Studio. It works flawlessly in Studio, but lags out crazily on Roblox Player (when you open it as a place from the website). So, first I put a LocalScript in Backpack (or StarterGui) that creates a new part with the name of the player with some minor details (changing material, color, etc.).

local part = Instance.new("Part")
part.Parent = game.Workspace
part.Name = game.Players.LocalPlayer.Name

Then, you just use the RenderStepped function to set the CameraSubject to be the part:

local cam = game.Workspace.CurrentCamera
local player = game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name)

game:GetService("RunService").RenderStepped:connect(function()
	cam.CameraSubject = player
end)

Then using UserInputService (more info on that here: http://wiki.roblox.com/index.php?title=Keyboard_input), changed the positions (by adding or subtracting Vector3) based on what key the player presses. I'll let you figure this one out. Don't worry, it's not that hard. I don't want to make things too easy for you now. ;) Good luck. :D

3 comments

0

Thanks for helping me, different from other ignorant and stupid people, this will be of great help and now I can learn something new too C:

0

and it certainly was not what I wanted but you gave me a great idea

0

Heh. Well, I'm glad it gave you an idea. Good luck on whatever you wanted to do. ;)

This discussion is preserved as it was. New answers, comments, and votes are closed.