Balloons going crazy and "dancing"

So I wanted to make a thing where I punch a dummy and it flies away with a balloon…
Well… Its pretty Glitchy…

SHOWCASE
i cant upload the vid >_<

so the balloon part just rotates everywhere and doesnt move upwards
SCRIPTS

Once = true
script:FindFirstAncestorOfClass("Model"):FindFirstChild("RightHand").Touched:Connect(function(Prt)
	if Prt:FindFirstAncestorOfClass("Model"):FindFirstChild("Humanoid") and Prt:FindFirstAncestorOfClass("Model").Name ~= script:FindFirstAncestorOfClass("Model").Name and Once == true then
		print(true)
		Once = false
		Prt:FindFirstAncestorOfClass("Model").Humanoid.Health -= script:FindFirstAncestorOfClass("Model").PunchManagement.damage.Value
		local e = game.ReplicatedStorage.ConnectedObjects.Balloon:Clone()
		local data = {Color3.fromRGB(255, 55, 55),Color3.fromRGB(0, 145, 255),Color3.fromRGB(82, 255, 55),Color3.fromRGB(255, 255, 0)}
		e.Parent = workspace
		e.Color = data[math.random(1,#data)]
		e.RopeConstraint.Attachment1 = Instance.new("Attachment",Prt:FindFirstAncestorOfClass("Model").Head)
		script["Hit1"]:Play()
		e.Position = Prt:FindFirstAncestorOfClass("Model").Head.Position
		game:GetService("TweenService"):Create(e,TweenInfo.new(20,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut,0,false,0),{Position = e.Position + Vector3.new(0,30,0)}):Play()
		delay(20,function()
			e.Ended:Play()
			e.Transparency = 1
			e.RopeConstraint:Destroy()
			e.CanCollide = false
			wait(0.5)
			e:Destroy()
		end)
		wait(1)
		Once = true
	end
end)

any ideas why this is happening?

It seems like the issue you’re facing is with the balloon not moving upwards properly and rotating in a Crazy way XD. Imma provide some suggestions to help resolve the problem:

  1. Ensure the balloon’s position and movement: Double-check that the balloon’s initial position and subsequent movement are correctly set up. Make sure the balloon is initially positioned above the dummy’s head and that the game:GetService("TweenService"):Create line is properly defining the upward movement using Vector3.new(0, 30, 0). Adjust these values if necessary to ensure the balloon moves in the desired manner.

  2. Checkthe balloon’s attachments: Ensure that the balloon’s RopeConstraint.Attachment1 is attached to the correct part of the dummy’s head. Check that Prt:FindFirstAncestorOfClass("Model").Head refers to the appropriate part. If the attachment is incorrect or not properly aligned, it can cause unexpected rotation and movement behavior.

  3. Check the balloon’s constraints: Verify that the balloon’s RopeConstraint is set up correctly and not causing unintended constraints on the balloon’s movement. Ensure that the constraints are not limiting the upward movement of the balloon.

  4. Check the balloon’s physics settings: Check the physics settings for the balloon object. Make sure that its CanCollide property is set to true to allow it to interact with other objects properly. If it’s set to false, collisions might be disabled, resulting in what you have rn XD.

1 Like

okay ill check these things XD

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.