#Animations only work in studio not when i open it on roblox
1 messages · Page 1 of 1 (latest)
Your animations are uploaded?
uhh i think so
Do you have Ids?
yep
You uploaded it yourself?
and they work when i play in studio
ye
Send me 1 Id if you can
ok
I'll test if I can use it too
huh
uhh
ill have to find it lol
You can use Find All tool
k
And type: :Play()
** You are now Level 10! **
how do i do that again
i right clicked but nothing of that showed up
** You are now Level 1! **
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end
if input.KeyCode == Enum.KeyCode.One then
Ability(1)
elseif input.KeyCode == Enum.KeyCode.Two then
Ability(2)
elseif input.KeyCode == Enum.KeyCode.Three then
Ability(3)
elseif input.KeyCode == Enum.KeyCode.Four then
Ability(4)
elseif input.KeyCode == Enum.KeyCode.Five then
Ability(5)
end
end)
gimme a sec
might have to send the whole thing
Ok
is that ok
Yes
theres one script
wrong one mb
i think
ill delet it
so its not in the way
anyway
lemme find it
You can search for :LoadAnimation(
ok
local module = {}
local camera = workspace.CurrentCamera
local tweenService = game:GetService("TweenService")
local replicatedStorage = game:GetService("ReplicatedStorage")
local resources = replicatedStorage:WaitForChild("Resources")
local modules = resources.Modules
local function Weld(Part0, Part1)
local weld = Instance.new("Weld")
weld.Part0 = Part0
weld.Part1 = Part1
weld.Parent = Part0
end
function module:ClientSide()
tweenService:Create(camera, TweenInfo.new(0.3, Enum.EasingStyle.Quart, Enum.EasingDirection.In), {FieldOfView = 80}):Play()
task.wait(0.35)
camera.FieldOfView = 65
tweenService:Create(camera, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
end
function module:Activate(player: Player)
local character: typeof(player.Character) = player.Character
local humanoid: Humanoid = character:WaitForChild("Humanoid")
local animator: Animator = humanoid.Animator
local root: Part = character:WaitForChild("HumanoidRootPart")
local originalWalkSpeed = humanoid.WalkSpeed
local originalJumpPower = humanoid.JumpPower
humanoid.WalkSpeed = 0
humanoid.JumpPower = 0
character:SetAttribute("Freeze", true)
local track = animator:LoadAnimation(script.Animation)
track.Priority = Enum.AnimationPriority.Action3
track:Play()
task.wait(0.31)
character:SetAttribute("Freeze", false)
humanoid.WalkSpeed = originalWalkSpeed
humanoid.JumpPower = originalJumpPower
local DS_VFX = script.DirectShotVFX:Clone()
DS_VFX.Parent = workspace.Debris
DS_VFX.Anchored = false
DS_VFX.CanCollide = false
DS_VFX.Transparency = 1
DS_VFX.CFrame = root.CFrame
task.spawn(function()
local Wave_VFX = script.Wave:Clone()
Wave_VFX.Parent = workspace.Debris
Wave_VFX.Size = Vector3.new(1, 2, 1)
Wave_VFX.CanCollide = false
Wave_VFX.Anchored = true
Wave_VFX.CFrame = root.CFrame:ToWorldSpace(CFrame.new(0, 0, -2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)))
tweenService:Create(Wave_VFX, TweenInfo.new(1, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {Size = Vector3.new(10, 31, 10)}):Play()
tweenService:Create(Wave_VFX, TweenInfo.new(1.5, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {CFrame = root.CFrame:ToWorldSpace(CFrame.new(0, 0, -10) * CFrame.Angles(math.rad(90), math.rad(270), math.rad(0)))}):Play()
tweenService:Create(Wave_VFX, TweenInfo.new(0.5, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {Transparency = 1}):Play()
game.Debris:AddItem(Wave_VFX, 3)
end)
task.spawn(function()
for i, v in pairs(DS_VFX:GetDescendants()) do
if v:IsA("ParticleEmitter") then
task.wait()
v:Emit(5)
end
end
end)
game.Debris:AddItem(DS_VFX, 3)
end
return module
and i alr sent the id
130255890632277
The account publishing the game is the same that the one you published the Id?
for the script.Animation
oh is that why
You need to use same account or give the publisher permissions to use your animations
hmm
how do i give perms
ill ask him to animation spoof everything if u think thats gonna work
Idk
** You are now Level 2! **
will this work
To spoof an anim you just need 1 command
yeah but i dont think he published any of these anims
i spoofed some of them
and the others idk
If you have the AnimId, he published it
nope
idk why
im asking him to donwload animation spoofer
Go in-game, and screenshot your console's client output if you can
That could maybe help
F9
Ok, so it seems like there could be 2 ways to make this work
Or nvm, best way is still to make your game in a group
Looks like it fixes it for most people
You can also try to Enable "ClientAnimatorThrottling"
Not sure if that will work, but never hurts to try
lemme get the owner in here
@timber nacelle
@frosty basin
the game is in a group now
animations still don’t work
@timber nacelle
Did you re-uploaded the animations using the Group as the Creator?
I think he might’ve set them as his animations
** You are now Level 3! **
I’ll ask him to do it again
Yea maybe
** You are now Level 1! **
Animations to have been uploaded inside the Group like this:
yup @timber nacelle
How are you playing the animations?
Wdym?
The script that plays the animation
Try to put the Animation with the Id already entered in ReplicatedStorage
Instead of creating it automatically
You should also use Humanoid > Animator
Loading animations with the Humanoid is the old way
how
How what?
hold on
we have smth like that I think
ReplicatedStorage is better than creating new anim instances
You can pre-load things inside ReplicatedStorage so all the animations are loaded and ready when the game starts
If that is in RP, it's good
it is
but the anim for it still doesn’t work
lemme see if he can spoof it to the group
hold on
Do i have to put in module scripts or can i do local scripts and stuff
@frosty basin
Okay
im going to send my script and if you can tell me whats wrong that would be perfect
** You are now Level 2! **
local player: Player? = game:GetService("Players").LocalPlayer
local character: typeof(player.Character) = player.Character or player.CharacterAdded:Wait()
local humanoid: Humanoid = character:WaitForChild("Humanoid")
local animator: Animator = humanoid.Animator
local camera: Camera = workspace.CurrentCamera
local mouse: Mouse = player:GetMouse()
local userInputService = game:GetService("UserInputService")
local replicatedStorage = game:GetService("ReplicatedStorage")
local resources = replicatedStorage:WaitForChild("Resources")
local modules = resources.Modules
local inputHandler = require(modules.InputHandler)
local remoteMessenger = require(modules.RemoteMessenger)
local shootPower = {
min = 10,
max = 30,
}
local tweenService = game:GetService("TweenService")
local shootPowerValue: NumberValue = Instance.new("NumberValue")
shootPowerValue.Value = shootPower.min
local power: number = shootPower.min
local tween = tweenService:Create(shootPowerValue, TweenInfo.new(0.5), {Value = shootPower.max})
local chargeTrack = animator:LoadAnimation(script.Charge)
local chargeLoopTrack = animator:LoadAnimation(script.Charge_Loop)
chargeLoopTrack.Looped = true
local kickTrack = animator:LoadAnimation(script.Kick)
chargeTrack.Priority = Enum.AnimationPriority.Action4
chargeLoopTrack.Priority = Enum.AnimationPriority.Action3
kickTrack.Priority = Enum.AnimationPriority.Action4
local runService = game:GetService("RunService")
local hold = false
local highlighted = false
local function highlight()
if not highlighted then
highlighted = true
local highlight1 = Instance.new("Highlight", character)
highlight1.Adornee = character
highlight1.FillColor = Color3.fromRGB(255, 255, 255)
highlight1.OutlineTransparency = 0
highlight1.FillTransparency = 0.2
local light = Instance.new("PointLight", character.HumanoidRootPart)
light.Brightness = 2
light.Range = 8
local part = script.FullPowerEffect:Clone()
part.Parent = workspace.Debris
part.CFrame = character.HumanoidRootPart.CFrame:ToWorldSpace(CFrame.new(0, -3, 0))
part.Attachment.ParticleEmitter:Emit(5)
tweenService:Create(highlight1, TweenInfo.new(0.75), {FillTransparency = 1}):Play()
tweenService:Create(highlight1, TweenInfo.new(0.75), {FillColor = Color3.fromRGB(0, 0, 0)}):Play()
tweenService:Create(highlight1, TweenInfo.new(0.75), {OutlineTransparency = 1}):Play()
tweenService:Create(light, TweenInfo.new(0.75), {Brightness = 0}):Play()
game.Debris:AddItem(highlight1, 0.75)
game.Debris:AddItem(light, 0.75)
game.Debris:AddItem(part, 1.6)
end
end
userInputService.InputBegan:Connect(function(input, gameProcessedEvent)
if gameProcessedEvent then return end
inputHandler:Input(input.KeyCode)
end)
mouse.Button1Down:Connect(function()
highlighted = false
power = shootPower.min
shootPowerValue.Value = shootPower.min
tween:Play()
kickTrack:Stop(0)
chargeTrack:Play()
chargeLoopTrack:Play(1)
hold = true
end)
mouse.Button1Up:Connect(function()
power = shootPowerValue.Value
tween:Cancel()
chargeTrack:Stop(0)
chargeLoopTrack:Stop(0)
kickTrack:Play(0)
shootPowerValue.Value = shootPower.min
hold = false
local lookVector = character.HumanoidRootPart.CFrame.LookVector
local direction = Vector3.new(lookVector.X, camera.CFrame.LookVector.Y, lookVector.Z)
remoteMessenger.SendServer("/Ball_Kick/", power, direction)
end)
runService.RenderStepped:Connect(function()
if hold then
humanoid.WalkSpeed = 6
end
if shootPowerValue.Value >= shootPower.max then
highlight()
end
end)
@frosty basin
This doesn't work?
yea
If you have uploaded the animations with the group and have also tested to enable this setting:
Then I have no idea