Scripting Support

Can someone tell me can someone explain to me the cause of this error

line 25, you say

if creditsOpen -- false then

It needs to be

if creditsOpen == false then
1 Like

I believe you should properly give a title for your help post. And also try to copy paste pure code in here and format it, as it can be unclear for some people in images.

4 Likes

Try putting the script next to the parent, and add a dot in between the script and the Parent.

Have you tried opening scripting analysis to find the error? You can turn it on by going to the View tab.

GUYS HELP ME AURA/PARTICLES VISIBLE ONLY ME CAN SOMEONE PLSS :frowning:strong text

local UIS = game:GetService(“UserInputService”)
local holding = false
local chakraevent = game.ReplicatedStorage:WaitForChild(“GiveAura”)
local Player = game.Players.LocalPlayer
repeat wait() until Player.Character
Character = Player.Character

local Track1

UIS.InputBegan:Connect(function(Input,isTyping)
if Input.KeyCode == Enum.KeyCode.C then
print(“Charging”)
holding = true
Character.HumanoidRootPart.Anchored = true

	Track1 = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Holding)
	Track1:Play()
	--------Effect
	local effect = game.ReplicatedStorage.AuraList.AuraList1.Tier1:WaitForChild("ChakraEffect"):Clone()
	local weld = Instance.new("Weld")
	weld.Parent = Character.HumanoidRootPart
	weld.Part0 = Character.HumanoidRootPart
	effect.CanCollide = false
	effect.Anchored = false
	effect.Parent = Character.HumanoidRootPart
	weld.Part1 = Character.HumanoidRootPart.ChakraEffect
	while holding == true and Player.ChargeStats.Charge.Value < 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368 + 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368  do
		wait(0.1)
		print("Health Increase")
		chakraevent:FireServer()
	end

end

end)

UIS.InputEnded:Connect(function(Input,isTyping)
if Input.KeyCode == Enum.KeyCode.C then

	holding = false
	Character.HumanoidRootPart.Anchored = false

	Track1:Stop()
	--------Effect		
	if Character.HumanoidRootPart:FindFirstChild("ChakraEffect") then
		Character.HumanoidRootPart.ChakraEffect:Destroy()
		Character.HumanoidRootPart.Weld:Destroy()		
	end
end

end)

Erm, can you add the
```
At the start of your code to make your code neater?

sir can u re script it for me plss

pretty sure that’s against the rules or simple in terms, illegal.

or it’s not illegal if the requested will gladly script it for free but you need to pay if you ask someone to rescript it

btw thats in a localscript you need to fire a remote and in the regular script it’ll see if the remote is on an an event then you fire some variables from client to the remote so it can manage that and to turn it off

1 Like