- Stick In Weight Lifting Simulator Roblox Id
- Stick In Weight Lifting Simulator Roblox Codes
- Stick In Weight Lifting Simulator Roblox Games
Stick In Weight Lifting Simulator Roblox Id
Home Body Building Roblox Studio: How to Make a Weight Lifting Simulator. How to Make a Weight Lifting Simulator. Admin - January 25, 2021. Is there a list of the Ids for the default r15 animations anywhere (like /e dance or wave?). I remember finding it once but after several google and dev forum searches I can’t seem to find it again. I tried to search through Roblox’s inventory but that doesn’t seem to be possible anymore 😦. In today's video i play on roblox it was very cool funny and funFOLLOW ME ON Twitter -https://instagram.com/jayi.
Jan 21st, 2017
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- local child = parent:findFirstChild(childName)
- while true do
- if child.NamechildName then return child end
- end
- local Figure = script.Parent
- local RightShoulder = waitForChild(Torso, 'Right Shoulder')
- local LeftShoulder = waitForChild(Torso, 'Left Shoulder')
- local RightHip = waitForChild(Torso, 'Right Hip')
- local Neck = waitForChild(Torso, 'Neck')
- local Humanoid = waitForChild(Figure, 'Humanoid')
- local currentAnimInstance = nil
- local currentAnimKeyframeHandler = nil
- local animTable = {}
- idle = {
- { id = 'http://www.roblox.com/asset/?id=180435571', weight = 9 },
- { id = 'http://www.roblox.com/asset/?id=180435792', weight = 1 }
- walk = {
- { id = 'http://www.roblox.com/asset/?id=180426354', weight = 10 }
- run = {
- },
- { id = 'http://www.roblox.com/asset/?id=125750702', weight = 10 }
- fall = {
- { id = 'http://www.roblox.com/asset/?id=180436148', weight = 10 }
- climb = {
- { id = 'http://www.roblox.com/asset/?id=180436334', weight = 10 }
- sit = {
- { id = 'http://www.roblox.com/asset/?id=178130996', weight = 10 }
- toolnone = {
- { id = 'http://www.roblox.com/asset/?id=182393478', weight = 10 }
- toolslash = {
- { id = 'http://www.roblox.com/asset/?id=129967390', weight = 10 }
- },
- { id = 'http://www.roblox.com/asset/?id=129967478', weight = 10 }
- wave = {
- { id = 'http://www.roblox.com/asset/?id=128777973', weight = 10 }
- point = {
- { id = 'http://www.roblox.com/asset/?id=128853357', weight = 10 }
- dance1 = {
- { id = 'http://www.roblox.com/asset/?id=182435998', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491037', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491065', weight = 10 }
- dance2 = {
- { id = 'http://www.roblox.com/asset/?id=182436842', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491248', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491277', weight = 10 }
- dance3 = {
- { id = 'http://www.roblox.com/asset/?id=182436935', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491368', weight = 10 },
- { id = 'http://www.roblox.com/asset/?id=182491423', weight = 10 }
- laugh = {
- { id = 'http://www.roblox.com/asset/?id=129423131', weight = 10 }
- cheer = {
- { id = 'http://www.roblox.com/asset/?id=129423030', weight = 10 }
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance1 = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- function configureAnimationSet(name, fileList)
- for _, connection in pairs(animTable[name].connections) do
- end
- animTable[name] = {}
- animTable[name].totalWeight = 0
- local config = script:FindFirstChild(name)
- -- print('Loading anims ' .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- for _, childPart in pairs(config:GetChildren()) do
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild('Weight')
- animTable[name][idx].weight = 1
- animTable[name][idx].weight = weightObject.Value
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. ' [' .. idx .. '] ' .. animTable[name][idx].anim.AnimationId .. ' (' .. animTable[name][idx].weight .. ')')
- end
- end
- -- fallback to defaults
- for idx, anim in pairs(fileList) do
- animTable[name][idx].anim = Instance.new('Animation')
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. ' [' .. idx .. '] ' .. anim.id .. ' (' .. anim.weight .. ')')
- end
- function scriptChildModified(child)
- if (fileList ~= nil) then
- end
- script.ChildRemoved:connect(scriptChildModified)
- configureAnimationSet(name, fileList)
- local toolAnim = 'None'
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] false) then
- end
- currentAnim = '
- if (currentAnimKeyframeHandler ~= nil) then
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Destroy()
- end
- end
- function setAnimationSpeed(speed)
- currentAnimSpeed = speed
- end
- if (frameName 'End') then
- local repeatAnim = currentAnim
- if (emoteNames[repeatAnim] ~= nil and emoteNames[repeatAnim] false) then
- end
- local animSpeed = currentAnimSpeed
- setAnimationSpeed(animSpeed)
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- idx = idx + 1
- -- print(animName .. ' ' .. idx .. ' [' .. origRoll .. ']')
- if (anim ~= currentAnimInstance) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Destroy()
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnim = animName
- if (currentAnimKeyframeHandler ~= nil) then
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = '
- local toolAnimInstance = nil
- if (frameName 'End') then
- playToolAnimation(toolAnimName, 0.0, Humanoid)
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- local roll = math.random(1, animTable[animName].totalWeight)
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- idx = idx + 1
- -- print(animName .. ' * ' .. idx .. ' [' .. origRoll .. ']')
- toolAnimTrack:Stop()
- transitionTime = 0
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- function stopToolAnimations()
- currentToolAnimKeyframeHandler:disconnect()
- toolAnimInstance = nil
- toolAnimTrack:Stop()
- toolAnimTrack = nil
- return oldAnim
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- if speed>0.01 then
- if currentAnimInstance and currentAnimInstance.AnimationId 'http://www.roblox.com/asset/?id=180426354' then
- end
- else
- playAnimation('idle', 0.1, Humanoid)
- end
- end
- function onDied()
- end
- function onJumping()
- jumpAnimTime = jumpAnimDuration
- end
- function onClimbing(speed)
- setAnimationSpeed(speed / 12.0)
- end
- function onGettingUp()
- end
- function onFreeFall()
- playAnimation('fall', fallTransitionTime, Humanoid)
- pose = 'FreeFall'
- pose = 'FallingDown'
- pose = 'Seated'
- pose = 'PlatformStanding'
- if speed>0 then
- else
- end
- for _, kid in ipairs(Figure:GetChildren()) do
- end
- end
- function getToolAnim(tool)
- if c.Name 'toolanim' and c.className 'StringValue' then
- end
- return nil
- playToolAnimation('toolnone', toolTransitionTime, Humanoid)
- end
- if (toolAnim 'Slash') then
- return
- playToolAnimation('toollunge', 0, Humanoid)
- end
- RightShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local frequency = 1
- lastTick = time
- local climbFudge = 0
- jumpAnimTime = jumpAnimTime - deltaTime
- if (pose 'FreeFall' and jumpAnimTime <= 0) then
- playAnimation('fall', fallTransitionTime, Humanoid)
- playAnimation('sit', 0.5, Humanoid)
- elseif (pose 'Running') then
- elseif (pose 'Dead' or pose 'GettingUp' or pose 'FallingDown' or pose 'Seated' or pose 'PlatformStanding') then
- stopAllAnimations()
- frequency = 1
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- LeftHip:SetDesiredAngle(-desiredAngle)
- local tool = getTool()
- toolAnim = animStringValueObject.Value
- animStringValueObject.Parent = nil
- end
- if time > toolAnimTime then
- toolAnim = 'None'
- else
- toolAnim = 'None'
- toolAnimTime = 0
- end
- -- connect events
- Humanoid.Running:connect(onRunning)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- game.Players.LocalPlayer.Chatted:connect(function(msg)
- if msg '/e dance' then
- elseif (string.sub(msg, 1, 3) '/e ') then
- elseif (string.sub(msg, 1, 7) '/emote ') then
- end
- if (pose 'Standing' and emoteNames[emote] ~= nil) then
- end
- end)
- playAnimation('idle', 0.1, Humanoid)
- local _, time = wait(0.1)
- end
Aug 26th, 2017
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- -- Objects
- local Weight = Instance.new('ScreenGui')
- local Close = Instance.new('TextButton')
- local Shrink = Instance.new('TextButton')
- local TextLabel = Instance.new('TextLabel')
- local Open = Instance.new('Frame')
- Weight.Parent = game.CoreGui
- Frame.Parent = Weight
- Frame.Position = UDim2.new(0.291666657, 0, 0.252964437, 0)
- Frame.Visible = false
- Close.Parent = Frame
- Close.BackgroundTransparency = 0.60000002384186
- Close.Size = UDim2.new(0, 25, 0, 27)
- Close.FontSize = Enum.FontSize.Size32
- Close.TextColor3 = Color3.new(0.0941177, 1, 1)
- Strength.Parent = Frame
- Strength.BackgroundColor3 = Color3.new(0.768628, 1, 0.466667)
- Strength.Position = UDim2.new(0.0273972601, 0, 0.768339753, 0)
- Strength.Style = Enum.ButtonStyle.RobloxButton
- Strength.FontSize = Enum.FontSize.Size24
- Strength.TextColor3 = Color3.new(0.0313726, 0.415686, 0.996078)
- Shrink.Parent = Frame
- Shrink.BackgroundColor3 = Color3.new(0.768628, 1, 0.466667)
- Shrink.Position = UDim2.new(0.0273972601, 0, 0.555984557, 0)
- Shrink.Style = Enum.ButtonStyle.RobloxButton
- Shrink.FontSize = Enum.FontSize.Size24
- Shrink.TextColor3 = Color3.new(0.996078, 0.0901961, 0.360784)
- WeightHack.Parent = Frame
- WeightHack.BackgroundColor3 = Color3.new(0.768628, 1, 0.466667)
- WeightHack.Position = UDim2.new(0.50590837, 0, 0.755215406, 0)
- WeightHack.Style = Enum.ButtonStyle.RobloxButton
- WeightHack.FontSize = Enum.FontSize.Size24
- WeightHack.TextColor3 = Color3.new(0.996078, 0.996078, 0.0745098)
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.Position = UDim2.new(0.742465734, 0, 0.552123547, 0)
- TextLabel.Font = Enum.Font.SciFi
- TextLabel.Text = 'Hold the basic weight and than press this button'
- TextLabel.TextColor3 = Color3.new(0.113725, 1, 0.0156863)
- TextLabel_2.BackgroundColor3 = Color3.new(0.486275, 0.486275, 0.486275)
- TextLabel_2.Position = UDim2.new(0.0219178088, 0, 0.057915058, 0)
- TextLabel_2.Font = Enum.Font.SciFi
- TextLabel_2.Text = 'Weight Lifting GUI'
- TextLabel_2.TextColor3 = Color3.new(0.886275, 0.223529, 0.313726)
- Open.Parent = Weight
- Open.BackgroundTransparency = 1
- Opener.Parent = Open
- Opener.Position = UDim2.new(0, 0, 2.55999994, 0)
- Opener.Style = Enum.ButtonStyle.RobloxButton
- Opener.FontSize = Enum.FontSize.Size32
- Opener.TextColor3 = Color3.new(0, 1, 1)
- Opener.TextStrokeTransparency = 0.5
- game.CoreGui.Weight.Open.Visible = false
- end)
- Close.MouseButton1Click:connect(function()
- game.CoreGui.Weight.Frame.Visible = false
- for i=1,1000 do
- game:GetService('ReplicatedStorage').addStrength:FireServer(game.Players.LocalPlayer.Character:FindFirstChildOfClass('Tool').Handle,5)
- end)
- Shrink.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.BodyWidthScale.Value = 1.5
- game.Players.LocalPlayer.Character.Humanoid.BodyHeightScale.Value = 1.5
- game.Players.LocalPlayer.Character.Humanoid.BodyDepthScale.Value = 1.5
- game.Players.LocalPlayer.Character.Humanoid.HeadScale.Value = 1
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()
- game.Players.LocalPlayer.Character.Humanoid:EquipTool(game.Players.LocalPlayer.Backpack.Combat)
- for i,v in pairs(game.Players:GetChildren()) do
- game.Players.LocalPlayer.Character.Combat.LocalScript.punched:InvokeServer(v.Character.Humanoid, 9e8, v.Character.UpperTorso)
- end
- game.Players.LocalPlayer.Character.Humanoid:UnequipTools()