View difference between Paste ID: wJxwuL0y and 9FWuFSzm
SHOW: | | - or go back to the newest paste.
1
--[[
2
	Jimmy Neutron:
3
							By: fixed by traplurd
4
							Features: Being kid that kill people
5
							Version: 1.0.0.2
6
--]]
7
8
local p = game.Players.LocalPlayer.Character
9
local weld = Instance.new("Weld",p.Torso)
10
weld.Part0 = p.Torso
11
12
local train = Instance.new("Part",p.Torso)
13
train.Anchored = true
14
train.CanCollide = false
15
train.Size = Vector3.new(3,2,6)
16
train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
17
weld.Part1 = train
18
weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
19
train.Anchored = false
20
local TrainMesh = Instance.new("SpecialMesh",train)
21
TrainMesh.MeshType = Enum.MeshType.FileMesh
22
TrainMesh.Scale = Vector3.new(0.255,0.2,0.255)
23
TrainMesh.Offset = Vector3.new(0.,0.4,0.0)
24
TrainMesh.MeshId = "rbxassetid://430250584"
25
TrainMesh.TextureId = "rbxassetid://430250590"
26
27
p.Humanoid.WalkSpeed = 60;
28
29
30
for i,v in pairs(p:GetChildren()) do
31
	if v:IsA("Part") then
32
		v.Transparency = 1;
33
	elseif v:IsA("Hat") then
34
		v:Destroy()
35
	elseif v:IsA("Model") then
36
		v:Destroy()
37
	end
38
end
39
40
local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
41
train.Touched:connect(function(p)
42
	if p.Parent then
43
		if p.Parent:IsA("Model") then
44
			if game.Players:FindFirstChild(p.Parent.Name) then
45
				if p.Parent.Name ~= game.Players.LocalPlayer.Name then
46
					game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
47
					local Whistle = SFX(93010973)
48
					Whistle:Play()
49
				end
50
			end
51
		end
52
	end
53
end)
54
55-
local Music = SFX(175706188)
55+
local Music = SFX(506922264)
56
Music.Looped = true;
57
wait(1)
58
Music:Play();