Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = owner
- local c = p.Character
- local runS = game:GetService("RunService")
- local twnS = game:GetService("TweenService")
- local t = tick()
- local colors = {"Really blue","Royal purple","Shamrock","Really red","Gold","CGA brown","Baby blue"}
- rad = math.rad
- cos = math.cos
- sin = math.sin
- inf = math.huge
- rng = math.random
- SkinCol = Color3.fromRGB(92,51,48)
- cfOrgn = CFrame.new(0,0,0)
- v3Orgn = Vector3.new(0,0,0)
- head = c.Head
- torso = c.Torso
- rarm = c["Right Arm"]
- larm = c["Left Arm"]
- rleg = c["Right Leg"]
- lleg = c["Left Leg"]
- root = c.HumanoidRootPart
- hum = c.Humanoid
- hum.WalkSpeed = 8
- hum.DisplayDistanceType = "None"
- local hd = Instance.new("HumanoidDescription")
- hd.Shirt = 3833085710
- hd.HatAccessory = 68259961
- hd.Pants = 382538503
- hd.FaceAccessory = 125369932
- hd.HairAccessory = 13655562
- hd.HeadColor = SkinCol
- hd.TorsoColor = SkinCol
- hd.LeftArmColor = SkinCol
- hd.RightArmColor = SkinCol
- hd.LeftLegColor = SkinCol
- hd.RightLegColor = SkinCol
- hum:ApplyDescription(hd)
- function createJoint(p0,p1,c0,c1,name)
- local w = Instance.new("Weld",p0)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0
- w.C1 = c1
- w.Name = name
- return w
- end
- function tween(part,info,goal) -- Info: length, easingstyle, easingdirection, repeat times, will repeat, wait time
- local Goal = goal
- local Info = TweenInfo.new(unpack(info))
- local Tween = twnS:Create(part,Info,Goal)
- Tween:Play()
- end
- function tweenSphere()
- local ball = Instance.new("Part",c)
- ball.Size = Vector3.new(0,0,0)
- ball.CanCollide = false
- ball.BrickColor = BrickColor.new("Gold")
- ball.Material = "Neon"
- ball.CastShadow = false
- ball.Massless = true
- ball.Locked = true
- ball.Shape = "Ball"
- ballWeld = createJoint(root,ball,CFrame.new(0,1,-1.5),CFrame.new(0,.25,0),"GemWeld")
- tween(ball,{
- .5,
- Enum.EasingStyle.Quad,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0,},
- {Size = Vector3.new(5,5,5)}
- )
- tween(ball,{
- .5,
- Enum.EasingStyle.Exponential,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0,},
- {Transparency = 1}
- )
- game.Debris:AddItem(ball,.6)
- game.Debris:AddItem(ballWeld,.6)
- end
- local gem = Instance.new("Part",c)
- gem.Name = "stone"
- gem.Size = Vector3.new(.2,.5,.2)
- gem.CanCollide = false
- gem.Massless = true
- gem.Locked = true
- gem.Material = "SmoothPlastic"
- gem.Transparency = .5
- gem.CastShadow = false
- pl = Instance.new("PointLight",gem)
- pl.Brightness = 50
- pl.Range = 10
- gemWeld = createJoint(root,gem,CFrame.new(0,1,-1.5),CFrame.new(0,.25,0),"GemWeld")
- local nk = createJoint(torso,head,CFrame.new(0,2,0),CFrame.new(0,.5,0),"FakeNeck")
- local rj = createJoint(root,torso,cfOrgn,cfOrgn,"FakeRoot")
- local rs = createJoint(torso,rarm,CFrame.new(2,0,0),CFrame.new(.5,0,0),"FakeRShoulder")
- local ls = createJoint(torso,larm,CFrame.new(-2,0,0),CFrame.new(-.5,0,0),"FakeLShoulder")
- local rh = createJoint(torso,rleg,CFrame.new(1,-2,0),CFrame.new(.5,0,0),"FakeRShoulder")
- local lh = createJoint(torso,lleg,CFrame.new(-1,-2,0),CFrame.new(-.5,0,0),"FakeLShoulder")
- local prrprr = Instance.new("Sound",head)
- prrprr.SoundId = "rbxassetid://2976489348"
- prrprr.Volume = 3
- prrprr.Playing = true
- prrprr.Looped = true
- local ui = Instance.new("BillboardGui",root)
- ui.Adornee = root
- ui.ExtentsOffsetWorldSpace = Vector3.new(0,3,0)
- ui.Size = UDim2.new(10,0,2,0)
- ui.Name = "brh"
- local tx = Instance.new("TextLabel",ui)
- tx.Size = UDim2.new(1,0,1,0)
- tx.Font = Enum.Font.Cartoon
- tx.FontSize = Enum.FontSize.Size36
- tx.TextColor3 = Color3.new(255,255,255)
- tx.BackgroundTransparency = 1
- tx.TextWrapped = true
- tx.TextScaled = true
- tx.TextStrokeTransparency = 0
- tx.Text = "😈 yall gon make me 😈"
- local gr = Instance.new("UIGradient",tx)
- gr.Color = ColorSequence.new({
- ColorSequenceKeypoint.new(0, Color3.new(.1,0,0)),
- ColorSequenceKeypoint.new(0.5, Color3.new(.5,0,0)),
- ColorSequenceKeypoint.new(1, Color3.new(1,1,1))
- })
- gr.Rotation = -90
- delay(0,function()
- while wait() do
- for i = 1,#colors do
- gem.BrickColor = BrickColor.new(colors[i])
- pl.Color = gem.Color
- tweenSphere()
- wait(2)
- end
- end
- end)
- function Replicate(plr,NK,RJ,RS,LS,RH,LH)
- nk.C0 = NK
- rj.C0 = RJ
- rs.C0 = RS
- ls.C0 = LS
- rh.C0 = RH
- lh.C0 = LH
- end
- local rem = Instance.new("RemoteFunction",c)
- rem.Name = "Animation"
- rem.OnServerInvoke = Replicate
- runS.Stepped:Connect(function()
- t = t+.5
- tx.Rotation = math.cos(t)*5
- end)
- NLS([[
- local p = owner
- local c = p.Character
- local runS = game:GetService("RunService")
- local action = ""
- local t = tick()
- x = -.02
- y = .05
- rad = math.rad
- cos = math.cos
- sin = math.sin
- inf = math.huge
- rng = math.random
- cfOrgn = CFrame.new(0,0,0)
- v3Orgn = Vector3.new(0,0,0)
- head = c.Head
- torso = c.Torso
- rarm = c["Right Arm"]
- larm = c["Left Arm"]
- rleg = c["Right Leg"]
- lleg = c["Left Leg"]
- root = c.HumanoidRootPart
- hum = c.Humanoid
- function createJoint(p0,p1,c0,c1,name)
- local w = Instance.new("Weld",p0)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0
- w.C1 = c1
- w.Name = name
- return w
- end
- local nk = createJoint(torso,head,CFrame.new(0,2,0),CFrame.new(0,.5,0),"FakeNeck")
- local rj = createJoint(root,torso,cfOrgn,cfOrgn,"FakeRoot")
- local rs = createJoint(torso,rarm,CFrame.new(2,0,0),CFrame.new(.5,0,0),"FakeRShoulder")
- local ls = createJoint(torso,larm,CFrame.new(-2,0,0),CFrame.new(-.5,0,0),"FakeLShoulder")
- local rh = createJoint(torso,rleg,CFrame.new(1,-2,0),CFrame.new(.5,0,0),"FakeRShoulder")
- local lh = createJoint(torso,lleg,CFrame.new(-1,-2,0),CFrame.new(-.5,0,0),"FakeLShoulder")
- local gemWeld = root:FindFirstChild("GemWeld")
- nkc0 = nk.C0
- rjc0 = rj.C0
- rsc0 = rs.C0
- lsc0 = ls.C0
- rhc0 = rh.C0
- lhc0 = lh.C0
- runS.RenderStepped:Connect(function()
- t = t+.5
- if not hum.Sit then
- if math.abs(root.Velocity.x)>1 or math.abs(root.Velocity.z)>1 then
- action = "Walk"
- elseif math.abs(root.Velocity.x)<1 or math.abs(root.Velocity.z)<1 then
- action = "Idle"
- end
- else
- action = "Sit"
- end
- hum.WalkSpeed = 8
- gemWeld.C0 = gemWeld.C0 * CFrame.Angles(x,y,0)
- if action == "Idle" then
- nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(sin(t/10)/20,0,0),.2)
- rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.25,.5+cos(t)/rng(1,2)+cos(t/5)/4,-1+sin(t/5)/10) * CFrame.Angles(rad(90),cos(t)/5+cos(t/5)/4,-rad(10)),.2)
- ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25,.5+-cos(t)/rng(1,2)+-cos(t/5)/4,-1+-sin(t/5)/10) * CFrame.Angles(rad(90),cos(t)/5+cos(t/5)/4,rad(10)),.2)
- rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(0,-cos(t/10)/10,cos(t/10)/10) * CFrame.Angles(-cos(t/10)/20,-rad(10),0),.06)
- lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(0,-cos(t/10)/10,.1+cos(t/10)/10) * CFrame.Angles(-rad(5)+-cos(t/10)/20,rad(10),0),.06)
- rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,cos(t/10)/10,0) * CFrame.Angles(cos(t/10)/20,0,0),.06)
- elseif action == "Walk" then
- rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.25,.5+cos(t)/rng(1,2)+cos(t/5)/4,-1+sin(t/5)/10) * CFrame.Angles(rad(90),cos(t)/5+cos(t/5)/4,-rad(10)),.2)
- ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25,.5+-cos(t)/rng(1,2)+-cos(t/5)/4,-1+-sin(t/5)/10) * CFrame.Angles(rad(90),cos(t)/5+cos(t/5)/4,rad(10)),.2)
- rj.C0 = rj.C0:lerp(rjc0 * CFrame.new(0,-.2+cos(t/3)/10,0) * CFrame.Angles(-rad(5),-cos(t/5)/10,0),.5)
- lh.C0 = lh.C0:lerp(lhc0 * CFrame.new(0,.35+sin(t/5)/4,cos(t/5)/2) * CFrame.Angles(-rad(5)+-cos(t/5)/2,0,0),.5)
- rh.C0 = rh.C0:lerp(rhc0 * CFrame.new(0,.35+-sin(t/5)/4,-cos(t/5)/2) * CFrame.Angles(-rad(5)+cos(t/5)/2,0,0),.5)
- elseif action == "Sit" then
- nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(sin(t/10)/20,0,0),.2)
- rs.C0 = rs.C0:Lerp(rsc0 * CFrame.new(-.25,.5+cos(t)/rng(1,2),-1) * CFrame.Angles(rad(90),cos(t)/2,-rad(10)),.2)
- ls.C0 = ls.C0:Lerp(lsc0 * CFrame.new(.25,.5+-cos(t)/rng(1,2),-1) * CFrame.Angles(rad(90),cos(t)/2,rad(10)),.2)
- rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(0,1,-1) * CFrame.Angles(rad(90),0,0),.06)
- lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(0,1,-1) * CFrame.Angles(rad(90),0,0),.06)
- rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,-.5,0),.06)
- end
- local rep = c:WaitForChild("Animation")
- if rep then
- rep:InvokeServer(nk.C0,rj.C0,rs.C0,ls.C0,rh.C0,lh.C0)
- end
- end)
- while wait(2) do
- x = -x
- y = -y
- end]],c)
- print[[Verbalase Thanos by CBTestBot]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement