SHOW:
|
|
- or go back to the newest paste.
1 | --Credits Eurse | |
2 | game.Workspace.hotboybilly.Shirt:remove() | |
3 | local v=Vector3.new | |
4 | local yield=coroutine.yield | |
5 | local uvec=Vector3.new(1, 1, 1) | |
6 | local inf=math.huge | |
7 | local infvec=uvec*inf | |
8 | local down=false | |
9 | local speed; | |
10 | ||
11 | ||
12 | local players=game:GetService"Players" | |
13 | local player=players.LocalPlayer | |
14 | local mouse=player:GetMouse() | |
15 | repeat yield() until player.Character | |
16 | local character=player.Character | |
17 | local torso=character:WaitForChild"Torso" | |
18 | local humanoid=character:WaitForChild"Humanoid" | |
19 | ||
20 | function weld(p1, p2) | |
21 | local weld=Instance.new"Weld" | |
22 | weld.Parent=p1 | |
23 | weld.Part0=p1 | |
24 | weld.Part1=p2 | |
25 | return weld | |
26 | end | |
27 | ||
28 | local ball=Instance.new"Part" | |
29 | ball.CanCollide=false | |
30 | ball.TopSurface="Smooth" | |
31 | - | ball.BrickColor=BrickColor.new"Pastel brown" |
31 | + | |
32 | ball.BrickColor=BrickColor.new"Pastel Brown" | |
33 | ball.FormFactor="Custom" | |
34 | Instance.new("SpecialMesh", ball).MeshType=Enum.MeshType.Sphere | |
35 | ||
36 | local lb=ball:Clone() | |
37 | lb.Size=uvec*1.1 | |
38 | lb.Parent=character | |
39 | local lbn=ball:clone() | |
40 | lbn.BrickColor=BrickColor.new"Pink" | |
41 | lbn.Size=uvec*.2 | |
42 | lbn.Parent=character | |
43 | ||
44 | local rb=lb:Clone() | |
45 | rb.Parent=character | |
46 | local rbn=lbn:Clone() | |
47 | rbn.Parent=character | |
48 | ||
49 | local lbnw=weld(lb, lbn) | |
50 | local rbnw=weld(rb, rbn) | |
51 | lbnw.C0=CFrame.new(0, 0, -(lb.Size.X/2-lbn.Size.X/4)) | |
52 | rbnw.C0=lbnw.C0 | |
53 | ||
54 | local lbw=weld(torso, lb) | |
55 | local rbw=weld(torso, rb) | |
56 | lbw.C0=CFrame.new(-lb.Size.X/2, lb.Size.X/2, -lb.Size.X/2) | |
57 | rbw.C0=lbw.C0*CFrame.new(lb.Size.X, 0, 0) | |
58 | ||
59 | while true do | |
60 | local dt=yield() | |
61 | local v=torso.Velocity | |
62 | local c0=CFrame.new(-lb.Size.X/2, lb.Size.X/2, -lb.Size.X/2) | |
63 | local deg=-math.max(math.min(v.Y*1.8, 50), -50)/70 | |
64 | --print(deg) | |
65 | local ang=CFrame.Angles(deg * math.pi/2 , 0, 0) | |
66 | lbw.C0=c0*CFrame.Angles(0, deg*1.2*math.pi/4, 0)*ang | |
67 | rbw.C0=c0*CFrame.new(lb.Size.X, 0, 0)*CFrame.Angles(0, -deg*1.2*math.pi/4, 0)*ang | |
68 | end |