![]() ![]() Thing.Position = Hrp.Position + * 5 -Ĭoroutine.resume(coroutine.create(function() Thing.MaxForce = Vector3.new(math.huge,math.huge,math.huge) Local Thing = Instance.new("BodyPosition", GHrp) Local Shockedvalue = enemy:FindFirstChild("Shocked").Value Hold.OnServerEvent:Connect(function(player, enemy, length) ![]() This is the script that holds the opponent to the player’s left arm. It’s a mess, not only does it look weird, but the opponents gets glitched sometimes, this is really frustrating, and I knew I won’t be able to find a solution to this problem alone. Not bad for a beginner, but heres how it looks when you grab multiple enemies: This is how the move was suppose to work: It looked horrible, it made the game looked bad. This led to a lot of issues, most of them being how it looked. The grab move grabs multiple enemies that were hit by the attack, even though it was only meant to grab one player. I was pretty proud with the results, but theres this one issue I can’t seem to find a solution to. So I’m making a move where a player grabs an opponent and punches them, followed by a dropkick. ![]() If the title’s a bit confusing, let me explain. The problem is, the local script functions for every player in the game even though it’s local, I searched for a solution but couldn’t find any. The script functions when a player touches a part in the workspace, when this happens the oxygen bar starts to go down, and when it reaches a certain goal (0%) the player starts to take damage over time. It’s basically an oxygen bar for a space game. I’ve made some simple lines of code in a local script, expecting it to act locally for 1 player, but that doesn’t seem to be the case. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |