I am struggling to make water that you can swim in (not including terrain water) I want to make water with the normal bricks I've tried functions but I figured I was using it wrong because I just gave commands in the print. when I tried it, it spammed the print I gave it when I touched it and when that happened the script froze the game. if you have any idea on how to make water like how it is in Arcane Adventures or Scuba Diving at Quill Lake, I would appreciate it if you can help. thanks
This is not a request website but I can give a little hint maybe
local animVar -- Put in the animation obj local part = script.Parent local debounce = false local function waterAnimPlay() if debounce == false then anim:Play() print("Player Swimming in water") else return end wait() if debounce == true then debounce = false end end part.Touched:Connect(waterAnimPlay)
You cannot ask for scripts, If you did try put in the script, It makes things more easier.
To do something like this, you need to check the players "Y" axis position and make a script so if it is below that then their gravity is set to a low gravity...