###Hello###
Today, I need help with a certain script. This script is supposed to summon a huge ball that is blue.
Here's a bit of information on this script;
Script Type: Local Script Script Location: StarterPlayerScripts Script Event: UserInputService
Now that you know a bit of the script, here is the code;
local player = game.Players.LocalPlayer
local character = player.CharacterAdded:wait()
local humanoid = character:WaitForChild('Humanoid')
local mouse = player:GetMouse()
local Ready = true
local UIS = game:GetService("UserInputService")
local Attack = false
local WB = game.ReplicatedStorage:WaitForChild('AttackObjects').WaterBomb
local WMC = game.ReplicatedStorage:WaitForChild('MagicCircles').WaterMagicCircle
wait(0.5)
local MDS = player:WaitForChild('PlrStorage').MagicDamageStat
local SummonAnimation = game.ServerStorage:WaitForChild('AnimationFolder').WaterMagicAnimations.WaterBombAnimation
UIS.InputBegan:Connect(function(Input)
if Input.KeyCode == Enum.KeyCode.X then
if Ready == true then
Ready = false
local Anime = humanoid:LoadAnimation(SummonAnimation)
Anime:Play()
wait(0.5)
local WMCC = WMC:Clone()
WMCC.Parent = game.Workspace
WMCC.CFrame = character.Torso.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(80),0,0)
WMCC.Size = Vector3.new(1,0.2,1)
wait()
WMCC.Size = Vector3.new(2,0.2,2)
wait()
WMCC.Size = Vector3.new(3,0.2,3)
wait()
WMCC.Size = Vector3.new(4,0.2,4)
wait()
WMCC.Size = Vector3.new(5,0.2,5)
wait()
local WBC = WB:Clone()
WBC.CFrame = character:WaitForChild('Torso').CFrame * CFrame.new(0,0,0)
end
end
end)
May seem pretty long but easy to read.
The part where it stops is WMCC.Size = Vector3.new(1,0.2,1) and on.
If you wish to test. Add necessary objects so the variables are correct.
The Output or F9 Show no errors.
Any feedback that helps is appreciated.
-- BlackOrange3343

1 comment
The best place to check the output is when you actually join the game and when your not in edit mode, find mistakes their...