Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to create pseudowater for a Roblox game?

Asked by 2 years ago

I am making an underwater exploration game and am frustrated by Roblox's native water limitations. I can't change the gravity, the look, or anything. I've seen somewhere that you can use trigonometry but I haven't taken that yet or haven't learned it yet so I am lost. I was also wondering if there was a simpler way. I am very new to scripting and stuff so try to explain the code you are giving me.

1 answer

Log in to vote
0
Answered by
extrorobo 104
2 years ago

it is very very simple. you can go to the game settings in studio, which is where you publish the game, add the thumbnail, create the name of the game, ect. if you go to one of the sections in that place, you can cinfigure gravity, speed, and ANYTHING you want. you can also put this under ServerScriptService to get some col jumping abilities and speed abilities

01 if player.MembershipType == Enum.MembershipType.None then 02 player.CharacterAdded:connect(function(char) 03 local humanoid = char:findFirstChild ("Humanoid") 04 if humanoid then 05 humanoid.MaxHealth = 1000 06 humanoid.Health = humanoid.MaxHealth 07 humanoid.WalkSpeed = 200 08 humanoid.JumpPower = 100 09 local confetti = Instance.new("Sparkles", char:findFirstChild("HumanoidRootPart")) 10 end 11 end) 12 end

you can change the walkspeed,jump power, and health to whatever you want. if you want to change anything else go to the game settings, where you can also change the physics and gravity of the game.

if you have anymore questions, please friend request me or message me on roblox, and I will respond to it.

I hope this helped!!

0
Not really what I was looking for but thanks. I think I'm going to use a skinned mesh water thing (which will be a lot more complicated but will pay off) slvrppp 0 — 2y
Ad

Answer this question