Advertisement
Guest User

obame

a guest
Feb 22nd, 2020
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. local p = owner
  2. local c = p.Character
  3.  
  4. local runS = game:GetService("RunService")
  5. local twnS = game:GetService("TweenService")
  6. local t = tick()
  7.  
  8. local colors = {"Really blue","Royal purple","Shamrock","Really red","Gold","CGA brown","Baby blue"}
  9.  
  10. rad = math.rad
  11. cos = math.cos
  12. sin = math.sin
  13. inf = math.huge
  14. rng = math.random
  15.  
  16. SkinCol = Color3.fromRGB(92,51,48)
  17.  
  18. cfOrgn = CFrame.new(0,0,0)
  19. v3Orgn = Vector3.new(0,0,0)
  20.  
  21. head = c.Head
  22. torso = c.Torso
  23. rarm = c["Right Arm"]
  24. larm = c["Left Arm"]
  25. rleg = c["Right Leg"]
  26. lleg = c["Left Leg"]
  27. root = c.HumanoidRootPart
  28. hum = c.Humanoid
  29. hum.WalkSpeed = 8
  30. hum.DisplayDistanceType = "None"
  31.  
  32. local hd = Instance.new("HumanoidDescription")
  33. hd.Shirt = 3833085710
  34. hd.HatAccessory = 68259961
  35. hd.Pants = 382538503
  36. hd.FaceAccessory = 125369932
  37. hd.HairAccessory = 13655562
  38. hd.HeadColor = SkinCol
  39. hd.TorsoColor = SkinCol
  40. hd.LeftArmColor = SkinCol
  41. hd.RightArmColor = SkinCol
  42. hd.LeftLegColor = SkinCol
  43. hd.RightLegColor = SkinCol
  44. hum:ApplyDescription(hd)
  45.  
  46. function createJoint(p0,p1,c0,c1,name)
  47. local w = Instance.new("Weld",p0)
  48. w.Part0 = p0
  49. w.Part1 = p1
  50. w.C0 = c0
  51. w.C1 = c1
  52. w.Name = name
  53. return w
  54. end
  55.  
  56. function tween(part,info,goal) -- Info: length, easingstyle, easingdirection, repeat times, will repeat, wait time
  57. local Goal = goal
  58. local Info = TweenInfo.new(unpack(info))
  59. local Tween = twnS:Create(part,Info,Goal)
  60. Tween:Play()
  61. end
  62.  
  63. function tweenSphere()
  64. local ball = Instance.new("Part",c)
  65. ball.Size = Vector3.new(0,0,0)
  66. ball.CanCollide = false
  67. ball.BrickColor = BrickColor.new("Gold")
  68. ball.Material = "Neon"
  69. ball.CastShadow = false
  70. ball.Massless = true
  71. ball.Locked = true
  72. ball.Shape = "Ball"
  73. ballWeld = createJoint(root,ball,CFrame.new(0,1,-1.5),CFrame.new(0,.25,0),"GemWeld")
  74. tween(ball,{
  75. .5,
  76. Enum.EasingStyle.Quad,
  77. Enum.EasingDirection.Out,
  78. 0,
  79. false,
  80. 0,},
  81. {Size = Vector3.new(5,5,5)}
  82. )
  83. tween(ball,{
  84. .5,
  85. Enum.EasingStyle.Exponential,
  86. Enum.EasingDirection.Out,
  87. 0,
  88. false,
  89. 0,},
  90. {Transparency = 1}
  91. )
  92. game.Debris:AddItem(ball,.6)
  93. game.Debris:AddItem(ballWeld,.6)
  94. end
  95.  
  96. local gem = Instance.new("Part",c)
  97. gem.Name = "stone"
  98. gem.Size = Vector3.new(.2,.5,.2)
  99. gem.CanCollide = false
  100. gem.Massless = true
  101. gem.Locked = true
  102. gem.Material = "SmoothPlastic"
  103. gem.Transparency = .5
  104. gem.CastShadow = false
  105.  
  106. pl = Instance.new("PointLight",gem)
  107. pl.Brightness = 50
  108. pl.Range = 10
  109.  
  110. gemWeld = createJoint(root,gem,CFrame.new(0,1,-1.5),CFrame.new(0,.25,0),"GemWeld")
  111.  
  112. local nk = createJoint(torso,head,CFrame.new(0,2,0),CFrame.new(0,.5,0),"FakeNeck")
  113. local rj = createJoint(root,torso,cfOrgn,cfOrgn,"FakeRoot")
  114. local rs = createJoint(torso,rarm,CFrame.new(2,0,0),CFrame.new(.5,0,0),"FakeRShoulder")
  115. local ls = createJoint(torso,larm,CFrame.new(-2,0,0),CFrame.new(-.5,0,0),"FakeLShoulder")
  116. local rh = createJoint(torso,rleg,CFrame.new(1,-2,0),CFrame.new(.5,0,0),"FakeRShoulder")
  117. local lh = createJoint(torso,lleg,CFrame.new(-1,-2,0),CFrame.new(-.5,0,0),"FakeLShoulder")
  118.  
  119. local prrprr = Instance.new("Sound",head)
  120. prrprr.SoundId = "rbxassetid://2976489348"
  121. prrprr.Volume = 3
  122. prrprr.Playing = true
  123. prrprr.Looped = true
  124.  
  125. local ui = Instance.new("BillboardGui",root)
  126. ui.Adornee = root
  127. ui.ExtentsOffsetWorldSpace = Vector3.new(0,3,0)
  128. ui.Size = UDim2.new(10,0,2,0)
  129. ui.Name = "brh"
  130.  
  131. local tx = Instance.new("TextLabel",ui)
  132. tx.Size = UDim2.new(1,0,1,0)
  133. tx.Font = Enum.Font.Cartoon
  134. tx.FontSize = Enum.FontSize.Size36
  135. tx.TextColor3 = Color3.new(255,255,255)
  136. tx.BackgroundTransparency = 1
  137. tx.TextWrapped = true
  138. tx.TextScaled = true
  139. tx.TextStrokeTransparency = 0
  140. tx.Text = "😈 yall gon make me 😈"
  141.  
  142. local gr = Instance.new("UIGradient",tx)
  143. gr.Color = ColorSequence.new({
  144. ColorSequenceKeypoint.new(0, Color3.new(.1,0,0)),
  145. ColorSequenceKeypoint.new(0.5, Color3.new(.5,0,0)),
  146. ColorSequenceKeypoint.new(1, Color3.new(1,1,1))
  147. })
  148. gr.Rotation = -90
  149.  
  150. delay(0,function()
  151. while wait() do
  152. for i = 1,#colors do
  153. gem.BrickColor = BrickColor.new(colors[i])
  154. pl.Color = gem.Color
  155. tweenSphere()
  156. wait(2)
  157. end
  158. end
  159. end)
  160.  
  161. function Replicate(plr,NK,RJ,RS,LS,RH,LH)
  162. nk.C0 = NK
  163. rj.C0 = RJ
  164. rs.C0 = RS
  165. ls.C0 = LS
  166. rh.C0 = RH
  167. lh.C0 = LH
  168. end
  169.  
  170. local rem = Instance.new("RemoteFunction",c)
  171. rem.Name = "Animation"
  172. rem.OnServerInvoke = Replicate
  173.  
  174. runS.Stepped:Connect(function()
  175. t = t+.5
  176. tx.Rotation = math.cos(t)*5
  177. end)
  178.  
  179. NLS([[
  180. local p = owner
  181. local c = p.Character
  182.  
  183. local runS = game:GetService("RunService")
  184. local action = ""
  185. local t = tick()
  186.  
  187. x = -.02
  188. y = .05
  189.  
  190. rad = math.rad
  191. cos = math.cos
  192. sin = math.sin
  193. inf = math.huge
  194. rng = math.random
  195.  
  196. cfOrgn = CFrame.new(0,0,0)
  197. v3Orgn = Vector3.new(0,0,0)
  198.  
  199. head = c.Head
  200. torso = c.Torso
  201. rarm = c["Right Arm"]
  202. larm = c["Left Arm"]
  203. rleg = c["Right Leg"]
  204. lleg = c["Left Leg"]
  205. root = c.HumanoidRootPart
  206. hum = c.Humanoid
  207.  
  208. function createJoint(p0,p1,c0,c1,name)
  209. local w = Instance.new("Weld",p0)
  210. w.Part0 = p0
  211. w.Part1 = p1
  212. w.C0 = c0
  213. w.C1 = c1
  214. w.Name = name
  215. return w
  216. end
  217.  
  218. local nk = createJoint(torso,head,CFrame.new(0,2,0),CFrame.new(0,.5,0),"FakeNeck")
  219. local rj = createJoint(root,torso,cfOrgn,cfOrgn,"FakeRoot")
  220. local rs = createJoint(torso,rarm,CFrame.new(2,0,0),CFrame.new(.5,0,0),"FakeRShoulder")
  221. local ls = createJoint(torso,larm,CFrame.new(-2,0,0),CFrame.new(-.5,0,0),"FakeLShoulder")
  222. local rh = createJoint(torso,rleg,CFrame.new(1,-2,0),CFrame.new(.5,0,0),"FakeRShoulder")
  223. local lh = createJoint(torso,lleg,CFrame.new(-1,-2,0),CFrame.new(-.5,0,0),"FakeLShoulder")
  224.  
  225. local gemWeld = root:FindFirstChild("GemWeld")
  226.  
  227. nkc0 = nk.C0
  228. rjc0 = rj.C0
  229. rsc0 = rs.C0
  230. lsc0 = ls.C0
  231. rhc0 = rh.C0
  232. lhc0 = lh.C0
  233.  
  234. runS.RenderStepped:Connect(function()
  235. t = t+.5
  236. if not hum.Sit then
  237. if math.abs(root.Velocity.x)>1 or math.abs(root.Velocity.z)>1 then
  238. action = "Walk"
  239. elseif math.abs(root.Velocity.x)<1 or math.abs(root.Velocity.z)<1 then
  240. action = "Idle"
  241. end
  242. else
  243. action = "Sit"
  244. end
  245. hum.WalkSpeed = 8
  246. gemWeld.C0 = gemWeld.C0 * CFrame.Angles(x,y,0)
  247. if action == "Idle" then
  248. nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(sin(t/10)/20,0,0),.2)
  249. 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)
  250. 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)
  251. 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)
  252. 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)
  253. rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,cos(t/10)/10,0) * CFrame.Angles(cos(t/10)/20,0,0),.06)
  254. elseif action == "Walk" then
  255. 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)
  256. 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)
  257. 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)
  258. 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)
  259. 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)
  260. elseif action == "Sit" then
  261. nk.C0 = nk.C0:Lerp(nkc0 * CFrame.Angles(sin(t/10)/20,0,0),.2)
  262. 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)
  263. 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)
  264. rh.C0 = rh.C0:Lerp(rhc0 * CFrame.new(0,1,-1) * CFrame.Angles(rad(90),0,0),.06)
  265. lh.C0 = lh.C0:Lerp(lhc0 * CFrame.new(0,1,-1) * CFrame.Angles(rad(90),0,0),.06)
  266. rj.C0 = rj.C0:Lerp(rjc0 * CFrame.new(0,-.5,0),.06)
  267. end
  268. local rep = c:WaitForChild("Animation")
  269. if rep then
  270. rep:InvokeServer(nk.C0,rj.C0,rs.C0,ls.C0,rh.C0,lh.C0)
  271. end
  272. end)
  273.  
  274. while wait(2) do
  275. x = -x
  276. y = -y
  277. end]],c)
  278.  
  279. print[[Verbalase Thanos by CBTestBot]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement