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

how do i make this script work in a server? lololol

Asked by 7 years ago

it's supposed to fling any parts it touches, It works in studio mode but when i try to publish it to my Place and be flinged By it, but it only makes me trip. Why is that?



s = script.Parent -- it's a part function woosh(hit) hit.Velocity = ((hit.Position - s.Position).unit + Vector3.new(0,1,0))* 200 + script.Parent.Velocity hit.RotVelocity = hit.RotVelocity + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) local a = hit.parent:findFirstChild("Humanoid") if a then a.PlatformStand = true wait(5) a.PlatformStand = false end end s.Touched:connect(woosh)

like really

0
Is FilteringEnabled activated in your project? DefaultAxis 72 — 7y
0
It's probably not the scripting if it works in studio testing mode, but idk really Podnf 22 — 7y
0
"probably not the scripting if it works in studio testing mode," Likely is. Here's an article on that: https://scriptinghelpers.org/guides/server-client-relationship-in-roblox M39a9am3R 3210 — 7y

Answer this question